mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Merge pull request #196 from RobotsAndPencils/andrew/DateModifiedFormatterLocale
Use a fixed locale for API response date parsing
This commit is contained in:
commit
e628d04beb
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ extension DateFormatter {
|
|||
static let downloadsDateModified: DateFormatter = {
|
||||
let formatter = DateFormatter()
|
||||
formatter.dateFormat = "MM/dd/yy HH:mm"
|
||||
formatter.locale = Locale(identifier: "en_US_POSIX")
|
||||
return formatter
|
||||
}()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue