Skip to content

Commit

Permalink
Merge pull request #220 from OpSecId/pstlouis/fix-local-time-timestamp
Browse files Browse the repository at this point in the history
Pstlouis/fix local time timestamp
  • Loading branch information
Patrik-Stas authored May 3, 2024
2 parents 958475e + 79a1336 commit 26ebceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion indyscan-webapp/components/TxPreview/TxPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class TxPreview extends Component {
// let utcDateString = "N/A"
const sinceEpoch = txnTimeIso8601 ? (Date.parse(txnTimeIso8601)) : null
if (txnTimeIso8601) {
txnDateLocalString = moment.utc(txnTimeIso8601).tz(moment.tz.guess()).format('DO MMMM YYYY, HH:mm:ss a')
txnDateLocalString = moment.utc(txnTimeIso8601).tz(moment.tz.guess()).format('Do MMMM YYYY, HH:mm:ss a')
// todo: display this
// utcDateString = moment.utc(txnTimeIso8601).format('do MMMM YYYY, HH:mm:ss a')
}
Expand Down
1 change: 1 addition & 0 deletions indyscan-webapp/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ Example:

- `LOG_HTTP_RESPONSES` - `true`


0 comments on commit 26ebceb

Please sign in to comment.