summaryrefslogtreecommitdiff
path: root/src/components/datetime/DateTimeController.cpp
AgeCommit message (Collapse)Author
2022-03-14DateTimeController: make possible functions constReinhold Gschweicher
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 Milants
into mruss77-statusBarTimeFormat # Conflicts: # src/components/datetime/DateTimeController.cpp
2022-01-22Fix alarm on time changeRiku Isokoski
2022-01-02resolves conflictsSteveAmor
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher
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-11Status bar displays time in 12 or 24 hour format based on settingsMark Russell
2021-11-07format changesSteveAmor
2021-11-07applied clang-formatSteveAmor
2021-11-07Chimes optionSteveAmor
2021-10-10DateTimeController : remove unused methods and variables.Jean-François Milants
2021-10-10Merge with develop and fix conflicts from timaios:set-datetime-manually.Jean-François Milants
2021-09-19Fix the display of the date after a reset : when the date/time was restored ↵Jean-François Milants
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 Keller
2021-08-19Add clearing of noinit segment on bad wordTim Keller
Code readability cleanup
2021-08-17Make Clock Persistant.Tim Keller
2021-08-10Code cleaning in Clock, WatchFaceAnalog, WatchFaceDigital and PineTimeStyle, ↵Jean-François Milants
inspired by PR #232 by nscooling.
2021-07-09Exposed Month and DayOfWeek texts in DateTimeControllerTim Taenny
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 Milants
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-24Reformatted all the files according to clang-format styleAvamander
2021-04-04Reset the step count every day at midnight.Jean-François Milants
2021-02-24Multi face support, analog clock, 12/24 configJoaquim
2020-10-02Fixed all the includes that were broken due to the renamesAvamander