remove split code

This commit is contained in:
Francis Cao 2025-05-08 09:06:27 -07:00
parent cd532fd53d
commit 3b24ea3175

View file

@ -11,7 +11,7 @@ export function renderDateLabels(unit: string, locale: string) {
switch (unit) {
case 'minute':
return formatDate(d, 'h:mm', locale).split(' ')[0];
return formatDate(d, 'h:mm', locale);
case 'hour':
return formatDate(d, 'p', locale);
case 'day':