mirror of
https://github.com/djhackersdev/minime.git
synced 2026-08-24 19:33:59 -05:00
Force UTC for all internal date processing
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
// Import environment variables from .env ASAP...
|
||||
|
||||
import "dotenv/config";
|
||||
|
||||
// ..but globally force all date and time processing to operate in UTC.
|
||||
// Do not allow this to be overridden by .env either.
|
||||
|
||||
process.env.TZ = "UTC";
|
||||
|
||||
import fs from "fs";
|
||||
import https from "https";
|
||||
import http from "http";
|
||||
|
||||
Reference in New Issue
Block a user