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
OS: Ubuntu 16.10 Swift 3.0, Swift 3.0.1, Swift DEV SNAPSHOT 2016-11-11
md5: b1bab6d492aa2081a4d6d1d00d8839e0
Issue Description:
These following 4 lines return nil on my Ubuntu 16.10. Is there any reason, please? Thanks.
print("Language = \(String(describing: Locale.current.languageCode))") print("Locale = \(String(describing: Locale.current.collatorIdentifier))") print("Language = \(String(describing: NSLocale.current.languageCode))") print("Locale = \(String(describing: NSLocale.current.collatorIdentifier))")
Language = nil Locale = nil Language = nil Locale = nil
The text was updated successfully, but these errors were encountered:
Comment by Karl Weinmeister (JIRA)
A couple of the formatters that have different behavior based on the current locale had to work around this issue. When this issue is resolved, those workarounds should be removed. For example, see the bottom of: https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/NSEnergyFormatter.swift
Sorry, something went wrong.
Comment by W S (JIRA)
I believe the properties above have been fixed by saiHema (JIRA User) #1020
Comment by sai Hema k (JIRA)
rbukovansky (JIRA User) : The issue is fixed in the latest master.Can you please verify and close it ?
Comment by Matt Rajca (JIRA)
Looks fixed in Swift 4.0.3 on Linux.
No branches or pull requests
Environment
OS: Ubuntu 16.10
Swift 3.0, Swift 3.0.1, Swift DEV SNAPSHOT 2016-11-11
Additional Detail from JIRA
md5: b1bab6d492aa2081a4d6d1d00d8839e0
Issue Description:
These following 4 lines return nil on my Ubuntu 16.10. Is there any reason, please? Thanks.
The text was updated successfully, but these errors were encountered: