summaryrefslogtreecommitdiff
path: root/src/components/datetime/DateTimeController.h
diff options
context:
space:
mode:
authorJF <JF002@users.noreply.github.com>2022-03-14 20:13:56 (GMT)
committerGitHub <noreply@github.com>2022-03-14 20:13:56 (GMT)
commit76b7436dfb23791c1a9be505a89ddf80c8b583d7 (patch)
tree7ea5b219cca4a0391780448e090e9169cb75f641 /src/components/datetime/DateTimeController.h
parent21da5869c5e48df666ea9d9c7698f7f69528645e (diff)
parentbebc072e78145af69aacb1c2c9549da8653b7b0c (diff)
Merge pull request #1039 from NeroBurner/datetime_const_and_analog_const_ref
Datetime const and analog const ref
Diffstat (limited to 'src/components/datetime/DateTimeController.h')
-rw-r--r--src/components/datetime/DateTimeController.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/datetime/DateTimeController.h b/src/components/datetime/DateTimeController.h
index 6e5ee3c..00bbc2e 100644
--- a/src/components/datetime/DateTimeController.h
+++ b/src/components/datetime/DateTimeController.h
@@ -61,8 +61,8 @@ namespace Pinetime {
return second;
}
- const char* MonthShortToString();
- const char* DayOfWeekShortToString();
+ const char* MonthShortToString() const;
+ const char* DayOfWeekShortToString() const;
static const char* MonthShortToStringLow(Months month);
std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds> CurrentDateTime() const {