diff options
author | dan <dan.abramov@gmail.com> | 2024-06-14 19:01:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 18:01:31 +0100 |
commit | 94c1f4968d7a09e04389b25a17f0125ffc375db3 (patch) | |
tree | b2b07647a2b36131205134a83615e9b5b707d256 /patches/expo-updates+0.25.11.patch | |
parent | f8c58a68a9a78689f9f636f3d739d9574a18ff7b (diff) | |
download | voidsky-94c1f4968d7a09e04389b25a17f0125ffc375db3.tar.zst |
Resolve patch-package warnings (#4520)
Diffstat (limited to 'patches/expo-updates+0.25.11.patch')
-rw-r--r-- | patches/expo-updates+0.25.11.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/patches/expo-updates+0.25.11.patch b/patches/expo-updates+0.25.11.patch deleted file mode 100644 index 5f9eceef4..000000000 --- a/patches/expo-updates+0.25.11.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift b/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift -index b85291e..07a5d3c 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, |