Date formats: Use ISO 8601 (#1040)

* System Info: Use YYYY-MM-DD

The date format with the slashes has different meaning in different regions

* Terminal Watchface: Use dashes as date separator

Using the popular ISO 8601 format instead

Co-authored-by: Riku Isokoski <riksu9000@gmail.com>
This commit is contained in:
Zach DeCook
2022-07-25 02:26:09 -04:00
committed by GitHub
parent 93477e25cf
commit 4450c58216
2 changed files with 4 additions and 4 deletions

View File

@@ -149,7 +149,7 @@ void WatchFaceTerminal::Refresh() {
}
if ((year != currentYear) || (month != currentMonth) || (dayOfWeek != currentDayOfWeek) || (day != currentDay)) {
lv_label_set_text_fmt(label_date, "[DATE]#007fff %04d.%02d.%02d#", short(year), char(month), char(day));
lv_label_set_text_fmt(label_date, "[DATE]#007fff %04d-%02d-%02d#", short(year), char(month), char(day));
currentYear = year;
currentMonth = month;