Problems in Scandinavian countries
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.
Use DateTime.Now instead.
@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.
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
if issue is solved why issue is still opened? (bad english)
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.
Fixed in version 3.2.1
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 ?
@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.
@MuggeGHQ 3.2.1 which contains the fix just got published and should be available on the Store now.