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 date-time's in the save/load menu not respecting machine culture #51

Merged
merged 2 commits into from
Aug 10, 2024

Conversation

bizzehdee
Copy link
Contributor

All date/times in the save/load menu fell back to US format mm/dd/yyyy, rather than respecting the UI culture.

This was down to the thread culture not being set, even though the UI culture was set. and DateTime.ToString respects the thread culture rather than the UI culture.

This patch forces the thread culture to be set correctly where needed

Copy link
Collaborator

@jan-bures jan-bures left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@jan-bures jan-bures changed the base branch from main to dev August 10, 2024 20:46
@jan-bures jan-bures merged commit aca4784 into KSP2Community:dev Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants