Skip to content

Commit 6a8c578

Browse files
committed
✨ feat: typeORM 설정에서 타임존을 'Asia/Seoul' 기준으로 설정
Issue Resolved: #
1 parent 6ebe90f commit 6a8c578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

back/src/config/typeOrmConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const ormConfig: TypeOrmModuleOptions = {
1010
entities: [__dirname + '/../**/*.entity{.ts,.js}'],
1111
synchronize: process.env.DATABASE_SYNCHRONIZE === 'true',
1212
charset: 'utf8mb4',
13-
timezone: 'z',
13+
timezone: '+09:00',
1414
};
1515

1616
export default ormConfig;

0 commit comments

Comments
 (0)