An ATproto social media client -- with an independent Appview.
at main 1.2 kB view raw
1diff --git a/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift b/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift 2index b85291e..546709d 100644 3--- a/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift 4+++ b/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift 5@@ -78,13 +78,20 @@ public final class ExpoUpdatesUpdate: Update { 6 status = UpdateStatus.StatusPending 7 } 8 9+ // Instead of relying on various hacks to get the correct format for the specific 10+ // platform on the backend, we can just add this little patch.. 11+ let dateFormatter = DateFormatter() 12+ dateFormatter.locale = Locale(identifier: "en_US_POSIX") 13+ dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ssZ" 14+ let date = dateFormatter.date(from:commitTime) ?? RCTConvert.nsDate(commitTime)! 15+ 16 return Update( 17 manifest: manifest, 18 config: config, 19 database: database, 20 updateId: uuid, 21 scopeKey: config.scopeKey, 22- commitTime: RCTConvert.nsDate(commitTime), 23+ commitTime: date, 24 runtimeVersion: runtimeVersion, 25 keep: true, 26 status: status,