WinDynamicDesktop icon indicating copy to clipboard operation
WinDynamicDesktop copied to clipboard

Problems in Scandinavian countries

Open t1m0thyj opened this issue 7 years ago • 9 comments

The app currently does not handle regions of the world that have polar day/night during parts of the year, and the SunCalc.Net library throws an exception when one of these regions is used for a location.

t1m0thyj avatar Mar 05 '19 06:03 t1m0thyj

Use DateTime.Now instead.

MD-DeCode avatar Mar 13 '19 10:03 MD-DeCode

@FantasiaChan DateTime.Now is used some places in the code, but I also need a way to calculate when sunrise and sunset occur for the user's location. I submitted a PR to the SunCalc library that should fix the problem in the next version of the app.

t1m0thyj avatar Mar 13 '19 10:03 t1m0thyj

New SunCalc.Net version 1.0.3 is available in Nuget that fixes the problem with the polar day/night during these parts of the year:

https://www.nuget.org/packages/SunCalcNet/1.0.3

kostebudinoski avatar Mar 19 '19 08:03 kostebudinoski

if issue is solved why issue is still opened? (bad english)

MD-DeCode avatar May 05 '19 08:05 MD-DeCode

Still open because it isn't solved yet in the app. The Suncalc.Net library now has the fix needed, but I need to consume it in WDD and make some changes to how I use it. This should be done in the next version.

t1m0thyj avatar May 06 '19 12:05 t1m0thyj

Fixed in version 3.2.1

t1m0thyj avatar May 07 '19 04:05 t1m0thyj

mmm, The app store version says there is a update but when i press update. There is no new version in app store so nothing happen ?

GHQMSJ avatar May 07 '19 07:05 GHQMSJ

@MuggeGHQ New versions don't show up immediately on Windows Store, they have to be approved by Microsoft first. Usually the approval process takes 1-3 days, if you want the bleeding edge then GitHub version is better.

t1m0thyj avatar May 07 '19 10:05 t1m0thyj

@MuggeGHQ 3.2.1 which contains the fix just got published and should be available on the Store now.

t1m0thyj avatar May 07 '19 15:05 t1m0thyj