Update update_3

This commit is contained in:
bergware
2023-10-27 22:00:06 +02:00
parent 9feff82fac
commit f6ae39c70b
+1 -1
View File
@@ -126,7 +126,7 @@ while (true) {
// current date and time
$now = time();
$clock = date(_var($display,'time')=='%R' ? 'G:i' : 'g:i '.esc('<span class="ampm">').'a'.esc('</span>'),$now);
$date = date(_var($display,'date','%c')=='%c' ? 'D j M Y, T' : my_date($display['date']).', T',$now);
$date = _var($display,'date','%c')=='%c' ? date('D j M Y, T',$now) : my_date($display['date'].', T',$now);
publish('update3',implode("\n",$echo)."\1".implode("\0",$mode)."\1".implode("\0",$rxtx)."\1".implode("\0",$stat)."\1".$clock."\n"._($date,0));
$time0 = $time;
sleep(1);