Skip to content

Commit

Permalink
Enforce server timezone to UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeorge committed Apr 29, 2022
1 parent 48676e2 commit 85ad8eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Set server timezone to UTC to avoid issues with date parsing
process.env.TZ = 'UTC'

const path = require('path')
const express = require('express')
const bodyParser = require('body-parser')
Expand Down

0 comments on commit 85ad8eb

Please sign in to comment.