mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 01:54:34 +03:00
Change 12h time format from '12h' to '12:00'
This commit is contained in:
parent
fc63d036e2
commit
446b6e64b8
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user