Shortened Months to fit width in AMPM mode

pull/774/head
peeweek 2021-07-21 15:35:53 +02:00
parent 8550b1a09a
commit 19dcb38dfb
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ const numbers =
]
];
const months = [ "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER" ];
const months = [ "JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC" ];
const interval = 1000; // in ms
const top = 32;
@ -168,7 +168,7 @@ function fmtDate(day,month,year,hour)
return months[month] + " " + day + " " + year + " "+ ap;
}
else
return months[month] + " " + day + " " + year;
return months[month] + ". " + day + " " + year;
}
// Handles Flipping colors, then refreshes the UI