Alternative ajax-dashboard6 problem

I just installed the new dashboard. I noticed the sunset and sunrise times appear to be in UTC. I would like to have this in local time.

Oh BTW, I am in tz -7


Capture.PNG

That is not the dashboard per se, it’s your testtags.php

$time = ‘08:31 AM’; // current time
$date = ‘22/4/2019’; // current date
$sunrise = ‘3:14 pm’; // sun rise time (make sure you have the correct lat/lon
// in view/sun moon)
$time_minute = ‘31’; // Current minute
$time_hour = ‘08’; // Current hour
$date_day = ‘22’; // Current day
$date_month = ‘04’; // Current month
$date_year = ‘2019’; // Current year
$monthname = ‘April’; // Current month name
$dayname = ‘Monday’; // Current day name
$sunset = ‘5:30 am’; // sunset time

It may be your lat/long setup in WD that is causing the issue.

$stationlatitude = '051:06:43'; // Latitude (from the sun moon rise/set setup) $stationlongitude = '-113:57:21'; // Longtitude (from the sun moon rise/set setup)
I think the longitude should not be negative in the Sun/Moon setup -- negative there is for East of GMT, while positive is West of GMT.

My equivalent settings shows (for Saratoga)

$stationlatitude = ‘037:16:28’; // Latitude (from the sun moon rise/set setup)
$stationlongitude = ‘0122:01:23’; // Longtitude (from the sun moon rise/set setup)
change the longitude setting in WD and the problem should be resolved.