diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-03-24 03:23:39 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-03-24 03:23:39 (GMT) |
| commit | fc3b11349015a34d292e1f2c2e03353ee6a799a0 (patch) | |
| tree | 86b177d361aa6f971b4674c04503af9d051a6e79 /src/components/datetime/DateTimeController.cpp | |
| parent | 7be329691dc7f6a69d610c56fa2027c9e635e16a (diff) | |
| parent | a62b893469765923a113acdf85627ce39322880f (diff) | |
Merge ../../InfiniTime into HEAD
Diffstat (limited to 'src/components/datetime/DateTimeController.cpp')
| -rw-r--r-- | src/components/datetime/DateTimeController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/datetime/DateTimeController.cpp b/src/components/datetime/DateTimeController.cpp index e0d1243..3bfbdc7 100644 --- a/src/components/datetime/DateTimeController.cpp +++ b/src/components/datetime/DateTimeController.cpp @@ -108,11 +108,11 @@ void DateTime::UpdateTime(uint32_t systickCounter) { } } -const char* DateTime::MonthShortToString() { +const char* DateTime::MonthShortToString() const { return MonthsString[static_cast<uint8_t>(month)]; } -const char* DateTime::DayOfWeekShortToString() { +const char* DateTime::DayOfWeekShortToString() const { return DaysStringShort[static_cast<uint8_t>(dayOfWeek)]; } |
