Closed m3g0byt3 closed 7 years ago
Thank you for PR!
I don't want to merge this commit. There are 2 reasons.
dateFormat
is easy to be misused. dateStyle
and timeStyle
is better. You should read https://developer.apple.com/library/content/qa/qa1480/_index.html.
Added
stringIn(dateFormat:)
method inDate+Timepiece
extension to create String from Date based on LDML format string (http://www.unicode.org/reports/tr35/tr35-45/tr35-dates.html#Date_Field_Symbol_Table)