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

[Bug] App won't start - System.FormatException #487

Closed
swoy45 opened this issue Oct 10, 2022 · 2 comments
Closed

[Bug] App won't start - System.FormatException #487

swoy45 opened this issue Oct 10, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@swoy45
Copy link

swoy45 commented Oct 10, 2022

  • WDD Version: 5.1.0
  • OS Version: Win11 Build 22621.608

Steps to Reproduce:

  1. Set regional format in system to Japanese
  2. Set AM/PM marks in Japanese
  3. Change schedule using app, not settings.json
  4. 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)
@t1m0thyj
Copy link
Owner

t1m0thyj commented Nov 3, 2022

@swoy45 Thanks for reporting this, could you try downloading the EXE from the latest build and let me know if it works?
https://github.com/t1m0thyj/WinDynamicDesktop/actions/runs/3389971915

@t1m0thyj t1m0thyj added the bug Something isn't working label Jan 3, 2023
@t1m0thyj
Copy link
Owner

This should be fixed in WDD 5.2.0, which was just published to GitHub and will be available on the Microsoft Store soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants