KSP2Community / CommunityFixes

Community bug fixes for Kerbal Space Program 2
MIT License
8 stars 8 forks source link

Fix for date-time's in the save/load menu not respecting machine culture #51

Closed bizzehdee closed 3 months ago

bizzehdee commented 3 months ago

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