Commit Graph

16 Commits

Author SHA1 Message Date
Wojtek Rzepecki
bc6b79fea6 [EGD-7673] Fix adding alarm before actual time
Fixed adding of an alarm before actual
system time
2021-10-01 10:59:48 +02:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-23 15:14:40 +02:00
Paweł Joński
45a7216cec [EGD-7217] Separate commonly used headers from application-calendar
Move dateCommon.hpp to module-utils/time
2021-08-10 11:49:14 +02:00
Marcin Smoczyński
74ae1a6589 [EGD-7031] Remove UT deps to the production image
Remove dependency to the production image by creating separate sysroot
for test assets alongside with a test image Test.img.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-07-27 23:36:37 +02:00
Paweł Joński
606e0597e2 [BH-380] Librarize application-calendar
Librarize application-calendar
2021-07-26 09:11:09 +02:00
Alek Rudnik
0e5769ca13 [EGD-7074] Fix date and time unit tests
Made sure test are not dependant on current time.
2021-07-19 14:26:34 +02:00
Piotr Tański
b74e58fa66 [EGD-7074] Removed incorrect and failing unit tests
The unit test needs to be reworked, it can't be easily fixed.
2021-07-02 12:02:34 +02:00
Artur Śleszyński
ae0a970653 [EGD-6697] Fix DateTime::isYesterday() tests
Skip all days numbered 1 to avoid testing at month boundary.
2021-07-01 14:28:44 +02:00
Maciej Gibowicz
781f24bbfc [EGD-6699] Add timezone selecting window
Implementation of the time zone selection from the list
of available cities.
2021-06-29 14:51:12 +02:00
Artur Śleszyński
b5a4e0ff9a [EGD-6697] Fix DateTime tests
Subtractring 0 from current month yields the same date.
2021-06-29 10:50:09 +02:00
Kuba
88a9fdedf2 [EGD-6883] Change time settings cleanup
Time related settings are handled by service time now.
utils DateAndTimeSettings replaced by static time service api.
2021-06-23 17:30:14 +02:00
Alek Rudnik
6dfeacffa4 [EGD-6697] Date and time formatting
Added system locale dependant date and time formatting.
2021-06-18 15:06:43 +02:00
Alek Rudnik
978b1d507b [EGD-6918] Timestamp clean up
Removal of not needed methods
Addition of unit tests
Fixes according to newst design guidelines
Added new seprate interface cmake lib for time constants
2021-06-16 15:41:23 +02:00
Maciej Gibowicz
39a760bad6 [EGD-6702] Add time zone library
The library is used to manually set the time zone.
It is based on the IANA time zone database.
2021-06-16 14:03:54 +02:00
DariuszSabala
5344c5cfe6 [BH-376] Time module unit test decoupled
Decoupled time module unit test from module-db
2021-06-09 17:03:29 +02:00
DariuszSabala
c611e3c011 [BH-376] Utils time turned to separate library
Turned module-utils/time folder content into separate library,
cleaned up CMake libs dependencies, fixed include paths
2021-06-09 17:03:29 +02:00