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

fix for locale issue in date test #7555

Conversation

qqmyers
Copy link
Member

@qqmyers qqmyers commented Jan 27, 2021

What this PR does / why we need it: Makes FileMetadataTest tests using dates work in any locale / fixes the test not working in the POSIX default C locale, which appears to be the default when starting a Dataverse instance from dataverse-ansible.

Which issue(s) this PR closes:

Closes #7554

Special notes for your reviewer:

Suggestions on how to test this: assure the test works when the OS locale is 'C.utf8' rather than 'en_US.utf8'. I was seeing C.utf8 on dataverse-ansible runs, but you should be able to change it on any test machine. Other locales should also work.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?:

Additional documentation:

IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from Review 🦁 to QA 🔎✅ Feb 1, 2021
@kcondon kcondon self-assigned this Feb 1, 2021
@qqmyers qqmyers changed the title fix for local issue in date test fix for locale issue in date test Feb 1, 2021
@kcondon kcondon merged commit ee98251 into IQSS:develop Feb 1, 2021
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from QA 🔎✅ to Done 🚀 Feb 1, 2021
@djbrooke djbrooke added this to the 5.4 milestone Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Date tests in FileMetadataTest are locale sensitive
4 participants