There was an error while loading. Please reload this page.
1 parent f4f3239 commit 8b8a031Copy full SHA for 8b8a031
1 file changed
ui/src/utils/time.ts
@@ -153,7 +153,9 @@ export function normalizeDate(date: string): string {
153
154
export function userFriendlyDate(date: string): string {
155
if (isValidDate(date)) {
156
- return moment(date).local().format('YYYY-MM-DD HH:mm');
+ return moment(date)
157
+ .local()
158
+ .format('YYYY-MM-DD HH:mm');
159
} else {
160
return date;
161
}
0 commit comments