- Posts: 12
- Thank you received: 0
Time anomaly between Event Booking and Paypal
- viv
- Topic Author
- Offline
- New Member
Less
More
12 years 9 months ago #10673
by viv
Time anomaly between Event Booking and Paypal was created by viv
Great module and the forum is excellent for solving problems but I couldn't find an answer to this one.
I've noticed a difference in reporting of transaction times between Paypal (which says it is on Australian Eastern Standard time) and the registrant list in Event Booking.
Eg. a transaction reported as being processed by Paypal at 9 Aug 2011
Event Booking is showing the same transaction registration date as 08-10-2011 (MMDDYYYY) - one day apart.
I checked my sites global configuration and the time is set to Eastern Australia time which is correct.
Also, the "Event Date" in the Registrant management screen is showing correct date of 3 Sept 2011 BUT the downloaded CSV file shows ievent date as 4 Sept 2011. Why did it change?
I'd like to know why the inconsistencies are occurring.
Thanks
Viv
I've noticed a difference in reporting of transaction times between Paypal (which says it is on Australian Eastern Standard time) and the registrant list in Event Booking.
Eg. a transaction reported as being processed by Paypal at 9 Aug 2011
Event Booking is showing the same transaction registration date as 08-10-2011 (MMDDYYYY) - one day apart.
I checked my sites global configuration and the time is set to Eastern Australia time which is correct.
Also, the "Event Date" in the Registrant management screen is showing correct date of 3 Sept 2011 BUT the downloaded CSV file shows ievent date as 4 Sept 2011. Why did it change?
I'd like to know why the inconsistencies are occurring.
Thanks
Viv
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
12 years 9 months ago #10709
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Time anomaly between Event Booking and Paypal
Hi Viv
Infact, there is some bugs in the code with timezone setting. To solve the issue, please follow the instructions below :
- Open the file administrator/components/com_eventbooking/views/registrants/tmpl/default.php, looks at the code at line 157 :
Change it to :
- Open the file administrator/components/com_eventbooking/controller.php, find the code below (there are two lines in the file) :
Change it to :
After that, all will work fine. I will update this fix to next release !
Regards,
Tuan
Infact, there is some bugs in the code with timezone setting. To solve the issue, please follow the instructions below :
- Open the file administrator/components/com_eventbooking/views/registrants/tmpl/default.php, looks at the code at line 157 :
Code:
<?php echo JHTML::_('date', $row->register_date, '%m-%d-%Y'); ?>
Change it to :
Code:
<?php echo JHTML::_('date', $row->register_date, '%m-%d-%Y', 0); ?>
- Open the file administrator/components/com_eventbooking/controller.php, find the code below (there are two lines in the file) :
Code:
$results_arr[]= JHTML::_('date', $r->register_date, $config->date_format);
Change it to :
Code:
$results_arr[]= JHTML::_('date', $r->register_date, $config->date_format, 0);
After that, all will work fine. I will update this fix to next release !
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- viv
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
12 years 9 months ago #10712
by viv
Replied by viv on topic Re: Time anomaly between Event Booking and Paypal
I've made those changes.
Many thanks!
Many thanks!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
12 years 9 months ago #10742
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Time anomaly between Event Booking and Paypal
OK, Great !
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.