Skip to content

Commit 96df4fa

Browse files
committed
Restore balance to the universe
Signed-off-by: Tim Bauer <[email protected]>
1 parent 8727951 commit 96df4fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/oss-console/src/common/formatters.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function formateDateRelative(input: Date, threshold = 24 * 60 * 60 * 1000
6262
return moment.utc(input).fromNow();
6363
}
6464

65-
return formatDate(input, 'MM/DD/YY HH:MM A');
65+
return formatDate(input, 'YYYY-MM-DD HH:MM A');
6666
}
6767

6868
/** Formats a date into a standard local format used throughout the UI

packages/oss-console/src/components/Launch/LaunchForm/LaunchFormComponents/DatetimeInput.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const DatetimeInput: FC<InputProps> = (props) => {
4141
},
4242
}}
4343
ampm={false}
44-
format="MM/DD/YYYY HH:mm:ss"
44+
format="YYYY-MM-DD HH:mm:ss"
4545
label={label}
4646
onChange={handleChange}
4747
value={!value?.length ? null : moment(value)}

0 commit comments

Comments
 (0)