Files
Nilai_Clock/backend/config/db.js
T
2025-11-06 10:05:07 +08:00

9 lines
279 B
JavaScript

// backend/config/db.js
import 'dotenv/config';
export const APP_TIMEZONE =
process.env.APP_TIMEZONE || '+07:00'; // 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