Open steepleian opened 4 years ago
I have this error. However in your post above both the from and to code is exactly the same...
Try this: -
var c=e.getHours()<?php if ($clockformat == '12') { echo '% 12 || 12';} else { echo '% 24 || 00';}?>;
On Sat, 2 May 2020 at 00:19, MrMan1968 notifications@github.com wrote:
I have this error. However in your post above both the from and to code is exactly the same...
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lightmaster/Meteobridge-Weather34-Template/issues/64#issuecomment-622607801, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEMVT7RZIFOY6IL4KPIYF5LRPNKIVANCNFSM4KO5EOXA .
Nice one steepleian, that fixed it! Thank you.
If station clock is set to 24 hour clock, after midnight the clock reads 24:MM:SS rather than 00:MM:SS.
To correct, change line 83 of updater.php from: -
var c=e.getHours()<?php if ($clockformat == '12') { echo '% 12 || 12';} else { echo '% 24 || 24';}?>;
To: -
var c=e.getHours()<?php if ($clockformat == '12') { echo '% 12 || 12';} else { echo '% 24 || 00';}?>;