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"