Include EndDateTimeShort in event stats
This commit is contained in:
parent
dfb6a96b42
commit
831dca814f
|
@ -52,6 +52,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() ?>',
|
||||||
|
@ -75,6 +76,7 @@ var eventDataStrings = {
|
||||||
Cause: '<?php echo translate('Cause') ?>',
|
Cause: '<?php echo translate('Cause') ?>',
|
||||||
Notes: '<?php echo translate('Notes') ?>',
|
Notes: '<?php echo translate('Notes') ?>',
|
||||||
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