You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The year from date wrong after convert to string with Calendar is Japanese which was set on the device setting. Please add the static Calendar which will use when convert date to string (Don't use Calendar. current when converting)
For example, I only want to use Calendar Gregorian for the application despite the user setting other Calendar in setting (Japanese in this example).
Date().toString(.custom("yyyy/MM/dd")) -> "0003/01/01". But the result i wish is: "2021/01/01"
The text was updated successfully, but these errors were encountered:
The year from date wrong after convert to string with Calendar is Japanese which was set on the device setting. Please add the static Calendar which will use when convert date to string (Don't use Calendar. current when converting)
For example, I only want to use Calendar Gregorian for the application despite the user setting other Calendar in setting (Japanese in this example).
Date().toString(.custom("yyyy/MM/dd")) -> "0003/01/01". But the result i wish is: "2021/01/01"
The text was updated successfully, but these errors were encountered: