Skip to content

Commit

Permalink
Show weekday names with abbreviations in Te Reo Māori
Browse files Browse the repository at this point in the history
| English | Māori | Meaning |
|--|--|--|
| Sunday | Rātapu | "Holy Day" |
| Monday | Rāhina | Māhina - Moon |
| Tuesday | Rātū | Tūmatauenga - Mars |
| Wednesday | Rāapa | Apārangi - Mercury |
| Thursday | Rāpare | Pareārau - Jupiter |
| Friday | Rāmere | Mere - Venus |
| Saturday | Rāhoroi | "Washing day" |
  • Loading branch information
xurizaemon committed Oct 30, 2023
1 parent e8d7179 commit 0f1e6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watch-library/shared/watch/watch_utility.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "watch_utility.h"

const char * watch_utility_get_weekday(watch_date_time date_time) {
static const char weekdays[7][3] = {"MO", "TU", "WE", "TH", "FR", "SA", "SU"};
static const char weekdays[7][3] = {"HI", "TU", "AP", "PA", "ME", "HO", "TA"};
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];
}

Expand Down

0 comments on commit 0f1e6e9

Please sign in to comment.