Skip to content

Commit

Permalink
Format time with 24h
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Dec 17, 2024
1 parent cb39aad commit 74ea1b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/screens/providers/components/GraphStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const GraphStatusDetails = ({ status, started }) => (
{status}
</span>
<span
title={moment(started).format('DD-MM-YYYY hh:mm:ss')}
title={moment(started).format('DD-MM-YYYY HH:mm:ss')}
style={{ fontSize: '0.8em', paddingLeft: 5, whiteSpace: 'nowrap' }}
>
{moment(started).fromNow()}
Expand Down
2 changes: 1 addition & 1 deletion src/screens/providers/components/LatestOTPGraphVersions.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const GraphVersionDetails = ({ name, serializationId, creationDate, size }) => (
>
<span>{serializationId}</span>
<span title={moment(creationDate).fromNow()}>
{moment(creationDate).format('DD-MM-YYYY hh:mm:ss')}
{moment(creationDate).format('DD-MM-YYYY HH:mm:ss')}
</span>
<span>
{Math.round((size / 1024 / 1024 / 1024 + Number.EPSILON) * 100) / 100}{' '}
Expand Down

0 comments on commit 74ea1b6

Please sign in to comment.