]> git.earman.xyz Git - sensor-watch.git/commitdiff
custom LCD: weekdays look better in uppercase
authorJoey Castillo <joeycastillo@utexas.edu>
Sat, 14 Dec 2024 00:03:27 +0000 (19:03 -0500)
committerJoey Castillo <joeycastillo@utexas.edu>
Sat, 14 Dec 2024 00:03:27 +0000 (19:03 -0500)
watch-library/shared/watch/watch_utility.c

index 69cf95d95e485679e0b29b6952bad339c56331a5..6c92c6f99b3cce4837e4df57e8bed2924e79746b 100644 (file)
@@ -31,7 +31,7 @@ const char * watch_utility_get_weekday(watch_date_time_t date_time) {
 }
 
 const char * watch_utility_get_long_weekday(watch_date_time_t date_time) {
-    static const char weekdays[7][4] = {"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"};
+    static const char weekdays[7][4] = {"MON", "TUE", "WED", "THU", "FrI", "SAT", "SUN"};
     return weekdays[watch_utility_get_iso8601_weekday_number(date_time.unit.year + WATCH_RTC_REFERENCE_YEAR, date_time.unit.month, date_time.unit.day) - 1];
 }