summaryrefslogtreecommitdiff
path: root/src/components/datetime
AgeCommit message (Collapse)AuthorFilesLines
2023-01-09Format header filesFinlay Davidson1-0/+10
In my PR updating clang-format, I forgot to also format the headers.
2023-01-04Update clang-{format,tidy} to 14Finlay Davidson1-0/+1
Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
2022-11-25BLE CTS: fixed signedness of timezoneuli2-7/+7
2022-11-11add CTS local time characteristic and use it to provide UTC in ↵uli2-0/+59
DateTimeController
2022-06-11Make function DayOfWeekShortToStringLow constDiego Miguel2-2/+2
2022-06-11Add lowercase days of the weekDiego Miguel2-0/+6
2022-06-05Apply clang-format to all C++ filesFinlay Davidson1-12/+18
2022-03-14DateTimeController: make possible functions constReinhold Gschweicher2-4/+4
MonthShortToString and DayOfWeekShortToString don't change the underlying object. Those are just getters and can be declared `const`.
2022-02-13Merge branch 'statusBarTimeFormat' of https://github.com/mruss77/InfiniTime ↵Jean-François Milants2-0/+29
into mruss77-statusBarTimeFormat # Conflicts: # src/components/datetime/DateTimeController.cpp
2022-01-22Fix alarm on time changeRiku Isokoski1-0/+2
2022-01-02resolves conflictsSteveAmor1-1/+1
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher1-1/+1
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
2021-11-10Status bar displays time in 12 or 24 hour format based on settingsMark Russell2-0/+28
2021-11-07format changesSteveAmor1-5/+7
2021-11-07applied clang-formatSteveAmor1-5/+4
2021-11-07Chimes optionSteveAmor2-0/+18
2021-10-10DateTimeController : remove unused methods and variables.Jean-François Milants2-81/+9
2021-10-10Merge with develop and fix conflicts from timaios:set-datetime-manually.Jean-François Milants2-2/+38
2021-09-19Fix the display of the date after a reset : when the date/time was restored ↵Jean-François Milants1-0/+1
from the noinit area, the date was displayed as "--" instead of the actual date. This issue was caused by DateTime::SetCurrentTime() that would not update the internal state of the class : dayOfWeek, Month, Year were not properly updated according to the current time.
2021-08-19Move Backup to the system task.Tim Keller2-2/+0
2021-08-19Add clearing of noinit segment on bad wordTim Keller2-2/+2
Code readability cleanup
2021-08-17Make Clock Persistant.Tim Keller2-1/+8
2021-08-10Code cleaning in Clock, WatchFaceAnalog, WatchFaceDigital and PineTimeStyle, ↵Jean-François Milants1-10/+10
inspired by PR #232 by nscooling.
2021-07-09Exposed Month and DayOfWeek texts in DateTimeControllerTim Taenny2-9/+45
Added static methods to return the text of a given month or dayOfWeek.
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants2-7/+9
variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
2021-04-24Changed access modified indentationAvamander1-2/+2
2021-04-24Reformatted all the files according to clang-format styleAvamander2-169/+129
2021-04-04Reset the step count every day at midnight.Jean-François Milants2-0/+21
2021-02-24Multi face support, analog clock, 12/24 configJoaquim2-0/+137
2020-10-02Fixed all the includes that were broken due to the renamesAvamander2-0/+105