diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2020-05-14 12:20:05 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2020-05-15 14:08:32 +0200 |
| commit | 4d5be968701b156da5f714dc8185ed24435978ac (patch) | |
| tree | 5b74ca60eef7d33384f94c6d2e177365728419dc | |
| parent | ffa654e0c0bb7e8be53adf30a4edf40274d6ff60 (diff) | |
| download | mullvadvpn-4d5be968701b156da5f714dc8185ed24435978ac.tar.xz mullvadvpn-4d5be968701b156da5f714dc8185ed24435978ac.zip | |
Unconstraint the time-added formatter to ensure that it does not attempt to round the numbers
| -rw-r--r-- | ios/MullvadVPN/MullvadRpc.swift | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ios/MullvadVPN/MullvadRpc.swift b/ios/MullvadVPN/MullvadRpc.swift index 3db2c25bf6..8f07c6d8cb 100644 --- a/ios/MullvadVPN/MullvadRpc.swift +++ b/ios/MullvadVPN/MullvadRpc.swift @@ -26,7 +26,6 @@ struct SendAppStoreReceiptResponse: Codable { let formatter = DateComponentsFormatter() formatter.allowedUnits = [.day, .hour] formatter.unitsStyle = .full - formatter.maximumUnitCount = 1 return formatter.string(from: timeAdded) } |
