update timezone
This commit is contained in:
parent
55d6ec73ff
commit
e6329e7922
2 changed files with 28 additions and 0 deletions
|
|
@ -13,12 +13,16 @@ import { OrganizationController } from "./controllers/OrganizationController";
|
|||
import logMiddleware from "./middlewares/logs";
|
||||
import { CommandController } from "./controllers/CommandController";
|
||||
import { ProfileSalaryController } from "./controllers/ProfileSalaryController";
|
||||
import { DateSerializer } from "./interfaces/date-serializer";
|
||||
|
||||
import { initWebSocket } from "./services/webSocket";
|
||||
|
||||
async function main() {
|
||||
await AppDataSource.initialize();
|
||||
|
||||
// Setup custom Date serialization for local timezone
|
||||
DateSerializer.setupDateSerialization();
|
||||
|
||||
initWebSocket();
|
||||
|
||||
const app = express();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue