From 5d971690cb7fcf51e0215a9eda16136607cf1851 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Mon, 12 Feb 2024 15:59:40 -0500 Subject: DateTimeController: Make DayOfWeekShortToStringLow static This allows it to be used outside of the current datetime context and makes it consistent with the MonthShortToStringLow function. --- src/components/datetime/DateTimeController.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/datetime/DateTimeController.h') 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 CurrentDateTime() const { return currentDateTime; -- cgit v1.2.3-70-g09d2