Closed
Description
- WDD Version: 5.1.0
- OS Version: Win11 Build 22621.608
Steps to Reproduce:
- Set regional format in system to Japanese
- Set AM/PM marks in Japanese
- Change schedule using app, not settings.json
- Restart app
Are you using the Microsoft Store version of WDD?: No
This is the very same issue I've had here #432
So the app continues to write down time as region-localized string
Log contains:
[2022-10-10 06:40:09.947] System.FormatException: The string '午前 7:00:00' was not recognized as a valid DateTime. There is an unknown word starting at index '0'.
at System.DateTime.Parse(String s, IFormatProvider provider)
at WinDynamicDesktop.SunriseSunsetService.GetUserProvidedSolarData(DateTime date)
at WinDynamicDesktop.SunriseSunsetService.GetSolarData(DateTime date)
at WinDynamicDesktop.WallpaperEngine.RunScheduler(Boolean forceImageUpdate)
at WinDynamicDesktop.AppContext..ctor(String[] args)
at WinDynamicDesktop.Program.Main(String[] args)