Skip to content

Commit

Permalink
Restore balance to the universe
Browse files Browse the repository at this point in the history
  • Loading branch information
bimtauer authored Mar 1, 2024
1 parent 8727951 commit 995e6ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/oss-console/src/common/formatters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function formateDateRelative(input: Date, threshold = 24 * 60 * 60 * 1000
return moment.utc(input).fromNow();
}

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

/** Formats a date into a standard local format used throughout the UI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const DatetimeInput: FC<InputProps> = (props) => {
},
}}
ampm={false}
format="MM/DD/YYYY HH:mm:ss"
format="YYYY-MM-DD HH:mm:ss"
label={label}
onChange={handleChange}
value={!value?.length ? null : moment(value)}
Expand Down

0 comments on commit 995e6ee

Please sign in to comment.