From c29b1915ff5b7e1b0e31e11a598c6f2fc7077dbc Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 15 May 2024 19:53:55 -0600 Subject: [PATCH] started adding day of week --- src/displayapp/screens/WatchFaceGravel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/displayapp/screens/WatchFaceGravel.cpp b/src/displayapp/screens/WatchFaceGravel.cpp index 24d29b95..3d66c0b1 100644 --- a/src/displayapp/screens/WatchFaceGravel.cpp +++ b/src/displayapp/screens/WatchFaceGravel.cpp @@ -138,7 +138,8 @@ void WatchFaceGravel::Refresh() { currentDate = std::chrono::time_point_cast(currentDateTime.Get()); if (currentDate.IsUpdated()) { - lv_label_set_text_fmt(labelDate, "%d %s", dateTimeController.Day(), dateTimeController.MonthShortToString()); + Controllers::DateTime::Days dayOfWeek = dateTimeController.DayOfWeek(); + lv_label_set_text_fmt(labelDate, "%s %d %s", dateTimeController.DayOfWeekShortToStringLow(dayOfWeek), dateTimeController.Day(), dateTimeController.MonthShortToString()); } lv_obj_realign(labelDate); }