Skip to content

Commit

Permalink
chore: Timezone설정해서 올바른 시간대로 들어오도록 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteHyun committed Dec 12, 2023
1 parent 91928bd commit 18b30b6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ extension Record {
let startDate = endDate - Double(workoutTime)
let formatter = DateFormatter()
formatter.dateFormat = "HH:mm:ss"
formatter.timeZone = .init(abbreviation: "UTC")

// 날짜를 문자열로 변환
let startDateString = formatter.string(from: startDate)
Expand Down

0 comments on commit 18b30b6

Please sign in to comment.