Change 12h time format from '12h' to '12:00'

This commit is contained in:
Uku Taht 2022-07-28 17:19:30 +03:00
parent fc63d036e2
commit 446b6e64b8

View File

@ -21,7 +21,7 @@ export const dateFormatter = (interval, longForm) => {
if (uses12hTime) { if (uses12hTime) {
hours = hours.toLowerCase().replace(" ", ""); hours = hours.toLowerCase().replace(" ", "");
} else { } else {
hours = hours.concat("h"); hours = hours.concat(":00");
} }
return hours; return hours;
} else if (interval === 'minute') { } else if (interval === 'minute') {