Include EndDateTimeShort in event stats
This commit is contained in:
parent
687818e1ec
commit
9cc17024c5
|
@ -51,6 +51,7 @@ var eventData = {
|
||||||
StartDateTime: '<?php echo $Event->StartDateTime() ?>',
|
StartDateTime: '<?php echo $Event->StartDateTime() ?>',
|
||||||
StartDateTimeShort: '<?php echo strftime(STRF_FMT_DATETIME_SHORT, strtotime($Event->StartDateTime())) ?>',
|
StartDateTimeShort: '<?php echo strftime(STRF_FMT_DATETIME_SHORT, strtotime($Event->StartDateTime())) ?>',
|
||||||
EndDateTime: '<?php echo $Event->EndDateTime() ?>',
|
EndDateTime: '<?php echo $Event->EndDateTime() ?>',
|
||||||
|
EndDateTimeShort: '<?php echo $Event->EndDateTime()? strftime(STRF_FMT_DATETIME_SHORT, strtotime($Event->EndDateTime())) : '' ?>',
|
||||||
Frames: '<?php echo $Event->Frames() ?>',
|
Frames: '<?php echo $Event->Frames() ?>',
|
||||||
AlarmFrames: '<?php echo $Event->AlarmFrames() ?>',
|
AlarmFrames: '<?php echo $Event->AlarmFrames() ?>',
|
||||||
TotScore: '<?php echo $Event->TotScore() ?>',
|
TotScore: '<?php echo $Event->TotScore() ?>',
|
||||||
|
@ -73,6 +74,7 @@ var eventDataStrings = {
|
||||||
MonitorName: '<?php echo translate('AttrMonitorName') ?>',
|
MonitorName: '<?php echo translate('AttrMonitorName') ?>',
|
||||||
Cause: '<?php echo translate('Cause') ?>',
|
Cause: '<?php echo translate('Cause') ?>',
|
||||||
StartDateTimeShort: '<?php echo translate('AttrStartTime') ?>',
|
StartDateTimeShort: '<?php echo translate('AttrStartTime') ?>',
|
||||||
|
EndDateTimeShort: '<?php echo translate('AttrEndTime') ?>',
|
||||||
Length: '<?php echo translate('Duration') ?>',
|
Length: '<?php echo translate('Duration') ?>',
|
||||||
Frames: '<?php echo translate('AttrFrames') ?>',
|
Frames: '<?php echo translate('AttrFrames') ?>',
|
||||||
AlarmFrames: '<?php echo translate('AttrAlarmFrames') ?>',
|
AlarmFrames: '<?php echo translate('AttrAlarmFrames') ?>',
|
||||||
|
|
Loading…
Reference in New Issue