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
I didn't make a PR already because I don't know if there's a reason for this, but wouldn't it be better if the shortDateFormatter et al. used Locale.autoupdatingCurrent?
On Jan 13, 2017, at 1:34 PM, Daniel Marques ***@***.***> wrote:
I didn't make a PR already because I don't know if there's a reason for this, but wouldn't it be better if the shortDateFormatter et al. used Locale.autoupdatingCurrent?
E.g.:
public static var shortDateFormatter: DateFormatter = {
$0.locale = Locale.autoupdatingCurrent
$0.dateStyle = .short; return $0
}(DateFormatter())
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#2>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAB_sOmI9kMWlRmz383wF8IJam-A3Ydkks5rR9-7gaJpZM4LjR_3>.
I didn't make a PR already because I don't know if there's a reason for this, but wouldn't it be better if the
shortDateFormatter
et al. usedLocale.autoupdatingCurrent
?E.g.:
The text was updated successfully, but these errors were encountered: