Skip to content
New issue

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

unsupported locale setting in Linux on replay #214

Closed
machawk1 opened this issue Jun 29, 2017 · 1 comment
Closed

unsupported locale setting in Linux on replay #214

machawk1 opened this issue Jun 29, 2017 · 1 comment

Comments

@machawk1
Copy link
Member

machawk1 commented Jun 29, 2017

Upon replaying anything any URI-M, the datetime conversion method datetimeToRFC1123() is required to set the locale, which it does via locale.setlocale(locale.LC_TIME, 'en_US'). This is not a valid locale on Ubuntu 16.04 with the closest variant through locale -a being en_US.utf8. en_US is valid on macOS per locale -a but its utf8 variant is en_US.UTF-8, along with en_US. This subtle difference in the UTF8 variants might cause an issue. Given we are sorting 14-digit datetimes, LC_ALL might be sufficient and more compatible across platforms.

@machawk1 machawk1 added this to the 1.0 β milestone Jun 29, 2017
machawk1 added a commit that referenced this issue Aug 14, 2017
Try utf8 US locale if enUS is unavailable (Linux). For #214
@machawk1
Copy link
Member Author

Closed with 4066a3b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant