Skip to content

Commit

Permalink
set default timezone (#5)
Browse files Browse the repository at this point in the history
Co-authored-by: NHT <[email protected]>
  • Loading branch information
nfesta2023 and hoangtuan910 authored Jan 31, 2024
1 parent 283220a commit da1f3f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ async function bootstrap() {
},
);
await app.listen();
//Set timezone
process.env.TZ = 'UTC';
console.log(`The default timezone at ${process.env.TZ}`);
}
bootstrap();

0 comments on commit da1f3f0

Please sign in to comment.