timezone update

This commit is contained in:
Edison
2025-11-03 11:31:34 +08:00
parent b1a8612571
commit 7231310f93
4 changed files with 163 additions and 106 deletions
+8
View File
@@ -0,0 +1,8 @@
// backend/config/db.js
import 'dotenv/config';
export const APP_TIMEZONE =
process.env.APP_TIMEZONE || 'Asia/Kuala_Lumpur'; // default for Nilai
//process.env.APP_TIMEZONE || 'Asia/Jakarta'; // default for Indonesia
// All dates from DB are treated as if they are in this timezone