diff --git a/src/displayapp/screens/WatchFaceGravel.cpp b/src/displayapp/screens/WatchFaceGravel.cpp index 3d66c0b1..7ec4c364 100644 --- a/src/displayapp/screens/WatchFaceGravel.cpp +++ b/src/displayapp/screens/WatchFaceGravel.cpp @@ -140,6 +140,34 @@ void WatchFaceGravel::Refresh() { if (currentDate.IsUpdated()) { Controllers::DateTime::Days dayOfWeek = dateTimeController.DayOfWeek(); lv_label_set_text_fmt(labelDate, "%s %d %s", dateTimeController.DayOfWeekShortToStringLow(dayOfWeek), dateTimeController.Day(), dateTimeController.MonthShortToString()); + char dayChar = ' '; + switch(dateTimeController.DayOfWeek()) { + case (Controllers::DateTime::Days::Sunday): + dayChar = 'S'; + break; + case (Controllers::DateTime::Days::Monday): + dayChar = 'M'; + break; + case (Controllers::DateTime::Days::Tuesday): + dayChar = 'T'; + break; + case (Controllers::DateTime::Days::Wednesday): + dayChar = 'W'; + break; + case (Controllers::DateTime::Days::Thursday): + dayChar = 'R'; + break; + case (Controllers::DateTime::Days::Friday): + dayChar = 'F'; + break; + case (Controllers::DateTime::Days::Saturday): + dayChar = 'A'; + break; + + default: + break; + } + lv_label_set_text_fmt(labelDate, "%c %d %s", dayChar, dateTimeController.Day(), dateTimeController.MonthShortToString()); } lv_obj_realign(labelDate); } diff --git a/src/resources/fonts.json b/src/resources/fonts.json index 9092909f..6fea5811 100644 --- a/src/resources/fonts.json +++ b/src/resources/fonts.json @@ -99,7 +99,7 @@ "sources": [ { "file": "fonts/SquareRegular.ttf", - "symbols": "0123456789:--ADFJMNOPSTWYabcdeghlnoprtuvy " + "symbols": "0123456789ABCDEFGJlMNOPRSTUVWYabceglnoprtuvy " } ], "bpp": 2,