diff options
| author | Victor Kareh <vkareh@redhat.com> | 2024-02-12 15:59:40 -0500 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2024-02-18 12:57:48 +0100 |
| commit | 5d971690cb7fcf51e0215a9eda16136607cf1851 (patch) | |
| tree | 7ff381007205a932eb0b78b313800e686ce19694 /src/components/datetime/DateTimeController.h | |
| parent | b0a0afdd4b30a663e1651e63be1549f33fdefb7b (diff) | |
DateTimeController: Make DayOfWeekShortToStringLow static
This allows it to be used outside of the current datetime context and
makes it consistent with the MonthShortToStringLow function.
Diffstat (limited to 'src/components/datetime/DateTimeController.h')
| -rw-r--r-- | src/components/datetime/DateTimeController.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/datetime/DateTimeController.h b/src/components/datetime/DateTimeController.h index 0bf6ac2a..f719df7d 100644 --- a/src/components/datetime/DateTimeController.h +++ b/src/components/datetime/DateTimeController.h @@ -122,7 +122,7 @@ namespace Pinetime { const char* MonthShortToString() const; const char* DayOfWeekShortToString() const; static const char* MonthShortToStringLow(Months month); - const char* DayOfWeekShortToStringLow() const; + static const char* DayOfWeekShortToStringLow(Days day); std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds> CurrentDateTime() const { return currentDateTime; |
