Commit Graph

23 Commits

Author SHA1 Message Date
Maciej-Mudita
e820a7607e [MOS-893] Fix invalid time description in the SMS thread
The sending/receiving time information will be displayed as follows:
- Only an hour –> for today
- Yesterday and hour –> for messages received/sent yesterday
- Day of the week and hour –> for messages received/sent within
last 7 days
- Date (day+month) and hour –> for messages older than week,
but still from the same year
- Date (day+month+year) and hour –> for messages
rom previous years
2023-02-08 11:53:14 +01:00
Maciej-Mudita
63f09cbcc0 [MOS-196] Add days of the week to the list of SMS, calls and notes
If an event (e.g. receiving a call or SMS) happened
in the current week, we display the days of the week
instead of the date on the list.
2023-02-07 13:18:20 +01:00
Lukasz Mastalerz
cfe88321a8 [MOS-192] Time should not include 0 at the beginning
Fix for displaying an additional 0 at the begging of the clock.
It affects the clock in the status bar and messages and calls time.
2023-02-03 10:19:21 +01:00
Adam Wulkiewicz
fe708cdf31 [MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
Add --all and --fix-all options to style-check-hook
2022-08-26 15:22:39 +02:00
Onufry Pajaczek
7c6af2c57f [BH-1542] Pure meditation fix and cetner TimeFixedWidget
*DigitsContainer definicions moved to cpp file(for proper linkage)
*DigitsContainer changed container to std::vector
*Fixed a bug in ProgressTimerWithBarGraphAndCounter where timerText was
treated as timeWidget
*MeditationCountdownWindow timer is now custom size
*Minus removed form MeditationRunningWindow timer
2022-08-18 09:12:36 +02:00
Maciej Janicki
2b2bb13a49 [MOS-296] Merge remote-tracking branch 'origin/stable'
Merge stable Harmony branch into merge wip branch
2022-03-09 19:27:50 +01:00
Mateusz Piesta
c1391090c6 [BH-1389] Catch2 unit tests optimization
Removed redundant recompilation of catch2 main
resulted in over 20% speed up of unit tests compilation.
2022-01-26 15:04:23 +01:00
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