Closed roxteddy closed 3 years ago
We need to set locale to en_POSIX for format string to work properly Moreover, we should only rely on this format, not on picker locale
according to the documentation : https://developer.apple.com/documentation/foundation/dateformatter chapter : Working With Fixed Format Date Representations
we should add RFC3339DateFormatter.locale = Locale(identifier: "en_US_POSIX") to the code in order to make the dateformat works
Fixes issue : https://github.com/capacitor-community/date-picker/issues/25
We need to set locale to en_POSIX for format string to work properly Moreover, we should only rely on this format, not on picker locale
according to the documentation : https://developer.apple.com/documentation/foundation/dateformatter chapter : Working With Fixed Format Date Representations
we should add RFC3339DateFormatter.locale = Locale(identifier: "en_US_POSIX") to the code in order to make the dateformat works