Skip to content

Commit

Permalink
fix: 시간 표기 형식
Browse files Browse the repository at this point in the history
Co-authored-by: niamu01 <[email protected]>
Co-authored-by: enaenen <[email protected]>
  • Loading branch information
3 people committed Dec 22, 2023
1 parent 521c0fe commit 2e34284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tag-log/dto/subType/InOutLogPerDay.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function groupLogsByDay(
if (log.inTimeStamp && log.outTimeStamp) {
const date = new Date(log.inTimeStamp * 1000);

const inDate = new Intl.DateTimeFormat('en-US', {
const inDate = new Intl.DateTimeFormat('ko-KR', {
timeZone: 'Asia/Seoul',
}).format(date);

Expand Down

0 comments on commit 2e34284

Please sign in to comment.