Skip to content

Commit

Permalink
change format supporting locale
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark committed Sep 1, 2023
1 parent c8873c0 commit 7e5d7e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const QueryTable = ({
{q.db}
</Button>
);
q.started = moment(q.startDttm).format('ll HH:mm:ss');
q.started = moment(q.startDttm).format('L HH:mm:ss');
q.querylink = (
<Button
buttonSize="small"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const SaveDatasetModal = ({
);

const getDefaultDatasetName = () =>
`${datasource?.name || UNTITLED} ${moment().format('MM/DD/YYYY HH:mm:ss')}`;
`${datasource?.name || UNTITLED} ${moment().format('L HH:mm:ss')}`;
const [datasetName, setDatasetName] = useState(getDefaultDatasetName());
const [newOrOverwrite, setNewOrOverwrite] = useState(
DatasetRadioState.SAVE_NEW,
Expand Down

0 comments on commit 7e5d7e7

Please sign in to comment.