In swift if using custom dateFormat like "dd-mm-yyyy" and device follows japanese calendar now get dateForm dateFormatter , expected "30-05-Reiwa6". but dateFormatter return string is "30=05-0006"
Expanding on jlilest’s answer a bit…
This post explains the three recommended ways to use DateFormatter
. Please try out the one that best suits your needs. If you follow-up questions, reply back here with the details and I’ll take a look.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"