mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
use fixed locale for date parsing of api responses
This commit is contained in:
parent
9a62be6376
commit
c2259cf078
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