5211b26903
* update deps * update patches * fix new arch optout * build from source, disable new arch * update to preview.14 * upgrade off of preview to release * fix lockfile lint * update patches * add back expo-location * downgrade reanimated * downgrade pagerview * use expo-file-system/legacy * try and upgrade types/react-dom * fix type of uint8array * rm @types/react resolution from bad rebase * more type errors * fix mock * bump rn-compressor * add patch of https://github.com/bluesky-social/react-native-paste-input/pull/5 * delete NativeDropdown & remove Zeego * `import React` in expo modules * bump cocoapods * rm unused picker lib * add speculative react-native-mmkv patch * revert patch, add temp debug info to error * bring back speculative patch, patch built JS code instead of source * revert patch, just do debugging part * dep update * update resolutions, dynamic-app-icon * bump node version in eas.json * update build instructions * rm atob from docs * Delete react-native-mmkv+2.12.2.patch * bump expo which might include fix * update expo patch version * bump expo patch version * wrong version oops * update expo to latest * update react-native-compressor, rm patch
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
diff --git a/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift b/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift
|
|
index b85291e..546709d 100644
|
|
--- a/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift
|
|
+++ b/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift
|
|
@@ -78,13 +78,20 @@ public final class ExpoUpdatesUpdate: Update {
|
|
status = UpdateStatus.StatusPending
|
|
}
|
|
|
|
+ // Instead of relying on various hacks to get the correct format for the specific
|
|
+ // platform on the backend, we can just add this little patch..
|
|
+ let dateFormatter = DateFormatter()
|
|
+ dateFormatter.locale = Locale(identifier: "en_US_POSIX")
|
|
+ dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ssZ"
|
|
+ let date = dateFormatter.date(from:commitTime) ?? RCTConvert.nsDate(commitTime)!
|
|
+
|
|
return Update(
|
|
manifest: manifest,
|
|
config: config,
|
|
database: database,
|
|
updateId: uuid,
|
|
scopeKey: config.scopeKey,
|
|
- commitTime: RCTConvert.nsDate(commitTime),
|
|
+ commitTime: date,
|
|
runtimeVersion: runtimeVersion,
|
|
keep: true,
|
|
status: status,
|