emcjh
emcjh
Not sure if the issue I'm having is related but my dates all seem wrong. I'm making the call like this: var today = new Date(); var t = SunCalc.getTimes(today,...
Not sure I understand your comment. My local time zone and the time zone of the location I want to get dawn/dusk times are the same. If I submit a...
That's exactly what I'm trying to figure out. I called getTimes() with a date of Apr 23 so why is sunrise returned as 7:44pm of Apr 22? Pretty sure I'm...
@fchristant Dates and times still appear incorrect. I assumed d in your example is a js date object. My code: var d = new Date(); var today = new Date(d.getFullYear(),...