AllskyTeam / allsky-website

Web interface displaying an image from an allsky camera.
54 stars 42 forks source link

Sunset time not correct #19

Closed beorn59 closed 3 years ago

beorn59 commented 4 years ago

Hi, I came across this issue because virtualsky is sometimes showing constellations and sometimes just a plain grid. I see the constellations during daytime and the grid at night. I think this should be the other way round. Also the console log prints that it is night-time during my daytime and vice-versa.

My first thought was, that I have to adjust the timezone from Yukon to Germany, but I did'nt find a setting for this.

Long story short, I tried to read the code and it compares the current time, to the time of sunset. The sunset-time is read from file data.json, which has a timestamp from last night, but the content shows {"sunset": "2016-05-27T00:24:00.000-0200"} which is some years ago. I cant see where this content comes from. But maybe someone has an idea.

kind regards Beorn

thomasjacquin commented 4 years ago

Hi Beorn, Can you post your website address? I'll take a look.

beorn59 commented 4 years ago

Hello Thomas,

the camera is still under construction and not publicly available yet. I send you the url by PM. kind regards Beorn