Include EndDateTimeShort in event stats

This commit is contained in:
Isaac Connor 2022-02-17 13:31:25 -05:00 committed by Ben Dailey
parent dfb6a96b42
commit 831dca814f
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ var eventData = {
StartDateTime: '<?php echo $Event->StartDateTime() ?>',
StartDateTimeShort: '<?php echo strftime(STRF_FMT_DATETIME_SHORT, strtotime($Event->StartDateTime())) ?>',
EndDateTime: '<?php echo $Event->EndDateTime() ?>',
EndDateTimeShort: '<?php echo $Event->EndDateTime()? strftime(STRF_FMT_DATETIME_SHORT, strtotime($Event->EndDateTime())) : '' ?>',
Frames: '<?php echo $Event->Frames() ?>',
AlarmFrames: '<?php echo $Event->AlarmFrames() ?>',
TotScore: '<?php echo $Event->TotScore() ?>',
@ -75,6 +76,7 @@ var eventDataStrings = {
Cause: '<?php echo translate('Cause') ?>',
Notes: '<?php echo translate('Notes') ?>',
StartDateTimeShort: '<?php echo translate('AttrStartTime') ?>',
EndDateTimeShort: '<?php echo translate('AttrEndTime') ?>',
Length: '<?php echo translate('Duration') ?>',
Frames: '<?php echo translate('AttrFrames') ?>',
AlarmFrames: '<?php echo translate('AttrAlarmFrames') ?>',