You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agreed, seeing the same thing with: sunTimes = SunCalc.getTimes(new Date(), 30.5, -86.5)
dawn: Invalid Date {}
dusk: Invalid Date {}
goldenHour: Invalid Date {}
goldenHourEnd: Invalid Date {}
nadir: Mon Dec 14 2020 23:42:39 GMT-0600 (Central Standard Time) {}
nauticalDawn: Invalid Date {}
nauticalDusk: Invalid Date {}
night: Invalid Date {}
nightEnd: Invalid Date {}
solarNoon: Tue Dec 15 2020 11:42:39 GMT-0600 (Central Standard Time) {}
sunrise: Invalid Date {}
sunriseEnd: Invalid Date {}
sunset: Invalid Date {}
sunsetStart: Invalid Date {}
__proto__: Object
var date = new Date('2020-06-11T20:24:46.426Z');
getTimes(date,'66.09639074589798','29.714674589159888');
Result:
{
solarNoon: 2020-06-11T10:02:13.573Z,
nadir: 2020-06-10T22:02:13.573Z,
sunrise: Invalid Date,
sunset: Invalid Date,
sunriseEnd: 2020-06-10T22:51:46.384Z,
sunsetStart: 2020-06-11T21:12:40.761Z,
dawn: Invalid Date,
dusk: Invalid Date,
nauticalDawn: Invalid Date,
nauticalDusk: Invalid Date,
nightEnd: Invalid Date,
night: Invalid Date,
goldenHourEnd: 2020-06-11T01:10:09.689Z,
goldenHour: 2020-06-11T18:54:17.457Z
}
Really not able to understand why.
The text was updated successfully, but these errors were encountered: