Hello,
I'm sure someone can help me here with this but the dashboard suddenly started showing the time incorrectly (I believe). It is showing in military time now before (where I squared), which used to update every 5 seconds and the am/pm format to the left which seems to just show the last time the testtags were uploaded. See the attachment I have attached. I've tried on PHP7.4 and PHP8.1 and 8.2 and its showing the same. Anyone have any idea? I'd be happy to include my files if needed.
http://www.newarkohweather.com
Take a look at your ajaxWXwd3.js file. Look at the code section under "// UNITS-OF-MEASURE / UOM (optional)"
// UNITS-OF-MEASURE / UOM (optional)
// ... change to your desired UOM's and decimal places
//==============================================================================
// ENGLISH (Imperial)
var imperialUOM =
{Temp: '°F' // [ &dec;C | &dec;F ] ......................... Temp
,Wind: 'mph' // [ kts | mph | kph | m/s ] ................. Wind
,Baro: 'inHg' // [ hPa | mb | inHg | mmHg ] ................. Baro
,Rain: 'in' // [ mm | in ] ............................... Rain
,Soil: 'in' // [ cm | in ] ............................... Soil Sensor Depth
,Moist:'cb' // [ kp | cb ] ............................... Soil Moisture
,Snow: 'in' // [ cm | in ] ............................... Snow
,Alti: 'ft' // [ m | ft ] ........................... Altitude
,Dist: 'miles' // [ m | km | miles] .................... Distance
,Deg : '°' // [ deg | ° ] ..................... Direction/UV
,dateFmt: "m/j/Y" // 04/26/2009 ... same format as "date" function in php ( eg. for US use "m/j/Y", for GB use "d/M/Y" )
,timeFmt: "g:i:s a" // 3:27:01 pm ... same format as "date" function in php ( for 24h clock use "H:i:s" )
,timeHM : "g:i a" // 3:27 pm ...... same format as "date" function in php ( for 24h clock use "H:i" )
};
Make sure the time format is correct (Not "H:i:s")