summaryrefslogtreecommitdiff
path: root/src/components/datetime
AgeCommit message (Collapse)AuthorFilesLines
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-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