Skip to content

Commit

Permalink
fix datetime format
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffsteward committed Apr 24, 2020
1 parent 9c00a63 commit 6c1a251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ router.get('/', function(req, res, next) {
d.setHours(d.getHours() + 2);

let output = {
lastexport: e.toLocaleString('en-US'),
lastrefresh: d.toLocaleString('en-US'),
lastexport: e.toLocaleString('en-US', {timeZone: "America/New_York"}),
lastrefresh: d.toLocaleString('en-US', {timeZone: "America/New_York"}),
recordcount: results['info']['totalrecords']
};

Expand Down

0 comments on commit 6c1a251

Please sign in to comment.