Skip to content

Commit

Permalink
added z
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartjash committed Sep 19, 2022
1 parent 5ca983d commit 1505b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aftermath/Aftermath.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Aftermath {
dateFormatter.timeZone = TimeZone(secondsFromGMT: 0)

if let date = dateFormatter.date(from: timeStamp) {
dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss"
dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss'Z'"
let dateString = dateFormatter.string(from: date as Date)
return dateString
}
Expand Down

0 comments on commit 1505b8c

Please sign in to comment.