mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
console: show year in the date column while displaying event triggers, cron triggers and scheduled triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8128 GitOrigin-RevId: 4522406f5e79dbb352778fa6849c284b813a0386
This commit is contained in:
parent
bbe756dbcc
commit
546902240a
@ -362,7 +362,9 @@ export const getCurrTimeForFileName = () => {
|
||||
};
|
||||
|
||||
export const convertDateTimeToLocale = (dateTime: string | Date | number) => {
|
||||
return moment(dateTime, moment.ISO_8601).format('ddd, MMM Do HH:mm:ss Z');
|
||||
return moment(dateTime, moment.ISO_8601).format(
|
||||
'ddd, MMM, yyyy, Do HH:mm:ss Z'
|
||||
);
|
||||
};
|
||||
|
||||
export const isConsoleError = (x: any): x is Error => {
|
||||
|
Loading…
Reference in New Issue
Block a user