malcommac / SwiftDate

🐔 Toolkit to parse, validate, manipulate, compare and display dates, time & timezones in Swift.
MIT License
7.61k stars 767 forks source link

Fix issue #754 #778

Open kf99916 opened 3 years ago

kf99916 commented 3 years ago

Create a locale id fallback rule to support different locale format as we can as possible: collatorIdentifier: zh-Hant-TW -> zh_Hant_TW -> zh-Hant -> zh_Hant -> zh -> en

jangsy7883 commented 3 years ago

This change makes sense to me. Can you apply it to your project?