ไม่บังคับ timezone

This commit is contained in:
harid 2025-12-01 11:07:01 +07:00
parent 9605365fe8
commit fdc96d2e0f

View file

@ -62,7 +62,7 @@ export const AppDataSource = new DataSource({
password: process.env.DB_PASSWORD,
connectorPackage: "mysql2",
synchronize: false,
timezone: "Z", // "Z" = UTC
// timezone: "Z", // "Z" = UTC
logging: ["query", "error"],
entities:
process.env.NODE_ENV !== "production"