Skip to content

Commit

Permalink
Fix HeartbeatsPayload using incorrect year format (#11611)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberbeni authored Jul 26, 2023
1 parent 959cf0d commit 2cdbbb7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ extension HeartbeatsPayload {
/// Convenience instance that represents an empty payload.
static let emptyPayload = HeartbeatsPayload()

/// A default date formatter that uses `YYYY-MM-dd` format.
/// A default date formatter that uses `yyyy-MM-dd` format.
public static let dateFormatter: DateFormatter = {
let formatter = DateFormatter()
formatter.dateFormat = "YYYY-MM-dd"
formatter.dateFormat = "yyyy-MM-dd"
formatter.locale = Locale(identifier: "en_US_POSIX")
formatter.timeZone = TimeZone(secondsFromGMT: 0)
return formatter
Expand Down

0 comments on commit 2cdbbb7

Please sign in to comment.