diff options
author | Eric Bailey <git@esb.lol> | 2025-04-07 20:29:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-07 18:29:41 -0700 |
commit | 872fcd1d20e2e3981eca77190b3eaa380b9aca76 (patch) | |
tree | c88c383a256699cbc4c775eb1735937e70273f2c /patches/expo-updates+0.27.4.patch | |
parent | d496b5bdbff64b02baf00654c3a82bfe7153bf77 (diff) | |
download | voidsky-872fcd1d20e2e3981eca77190b3eaa380b9aca76.tar.zst |
Update patches (#8151)
* Update patches after #8133 * Bump deps * Revert @react-native-picker/picker downgrade * Migrate RN patch
Diffstat (limited to 'patches/expo-updates+0.27.4.patch')
-rw-r--r-- | patches/expo-updates+0.27.4.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/expo-updates+0.27.4.patch b/patches/expo-updates+0.27.4.patch new file mode 100644 index 000000000..6fc4fc5fc --- /dev/null +++ b/patches/expo-updates+0.27.4.patch @@ -0,0 +1,26 @@ +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, |