fix #10928 EMS print ticket not processed for TZ
This commit is contained in:
parent
957eaa44c0
commit
b838102df5
2 changed files with 3 additions and 1 deletions
|
|
@ -24,6 +24,7 @@
|
|||
- fixed #10923: Typo in i18n
|
||||
- fixed #10925: Wrong message in i18n
|
||||
- relabel Help in the Admin Console to Template Help
|
||||
- fixed #10928: EMS Print Ticket -- Time not processed for timezone
|
||||
|
||||
7.7.19
|
||||
- fixed #10838: Forwarded forum post email to new CS adds reply to original thread
|
||||
|
|
|
|||
|
|
@ -1971,7 +1971,8 @@ sub www_printTicket {
|
|||
my $registrant = $self->getRegistrant($form->get('badgeId'));
|
||||
my $ticket = WebGUI::Asset::Sku::EMSTicket->new($session, $form->get('ticketAssetId'));
|
||||
$registrant->{ticketTitle} = $ticket->getTitle;
|
||||
$registrant->{ticketStart} = $ticket->get('startDate');
|
||||
my $startTime = WebGUI::DateTime->new($ticket->get('startDate'))->set_time_zone($self->get('timezone'));
|
||||
$registrant->{ticketStart} = $startTime->strftime('%F %R');
|
||||
$registrant->{ticketDuration} = $ticket->get('duration');
|
||||
$registrant->{ticketLocation} = $ticket->get('location');
|
||||
$registrant->{ticketEventNumber} = $ticket->get('eventNumber');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue