Skip to content

Commit

Permalink
[BE#hotfix] 소셜 타임존 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
victolee0 authored Dec 13, 2023
1 parent a07e4c5 commit 45a1125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BE/src/mates/mates.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class MatesService {
}
const offset = timezone[0] === ' ' ? `+${timezone.trim()}` : timezone;

const nowUserTime = moment(`${datetime}${timezone}`)
const nowUserTime = moment(`${datetime}${offset}`)
.utcOffset(offset)
.format('YYYY-MM-DD HH:mm:ss');

Expand Down

0 comments on commit 45a1125

Please sign in to comment.