remove split code
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user