We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Official 5.0.1 Docker image
md5: eb102f30e8949b4249af8b054776b078
Issue Description:
Following snippet works correctly in macOS:
import Foundation let formatter = DateFormatter() formatter.dateStyle = .long formatter.timeStyle = .short formatter.locale = Locale(identifier: "ru_RU") print(formatter.string(from: Date(timeIntervalSince1970: 1561846736.749614)))
displaying
30 июня 2019 г., 1:18
However, when run in Linux, it displays
июня 29, 2019 at 10:18 PM
Other locales might be affected too.
The text was updated successfully, but these errors were encountered:
This has been fixed in 5.1
$ ~/swift-5.0.1-RELEASE-ubuntu18.04/usr/bin/swift sr-11047.swift июня 29, 2019 at 11:18 PM $ ~/swift-5.1-RELEASE-ubuntu18.04/usr/bin/swift sr-11047.swift 29 июня 2019 г., 23:18
Sorry, something went wrong.
No branches or pull requests
Environment
Official 5.0.1 Docker image
Additional Detail from JIRA
md5: eb102f30e8949b4249af8b054776b078
Issue Description:
Following snippet works correctly in macOS:
displaying
However, when run in Linux, it displays
Other locales might be affected too.
The text was updated successfully, but these errors were encountered: