Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Day showing one day before actual date in tab and default schedule view

Featured Lock Resolved Bug
Using Eventum Component, the date field shows 2017-09-11.
When the Schedule is rendered in the Menu Item for SP_Eventum Schedules menu option in either the Tabbed or default view, the Day that is rendered shows as 1 day earlier: "10". The remaining days show as 11 and 12. It should show 11, 12, & 13.

Can you help me fix this?

5 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi,

Thanks for your query. Please share your site url. Did you change time zone? Please let me know.

-Thanks

patgaytx

More than a month ago #Permalink
The site is behind a corporate firewall so you won't be able to access it. i can do a webex with you if that will help.

Toufiq - Staff

More than a month ago #Permalink
The site is behind a corporate firewall so you won't be able to access it. i can do a webex with you if that will help.


Hi, Is it possible to upload it any test server? Please let me know. Thanks

patgaytx

More than a month ago #Permalink
So here is what I found out.
1. Your code in ../components/com_speventum/views/schedules/tmpl/default.php is using: <?php echo Jhtml::_('date ', $this->schedule->date, 'd'); ?>
2. The user's timezone is set to Chicago.
3. The data that is appearing is one day prior (September 10) and it should be September 11.
4. When I changed my user's Timezone to London, the date appears correctly.

So I figured this out: When entering the date of the schedule, you have to enter the time as well. I entered: 2017-09-11 08:00:00 and reset the timezone to chicago and it worked. The problem was with the back end entering the schedules. THere is no time, only date.

Toufiq - Staff

More than a month ago #Permalink
Hi,

Already we have the live meeting with you and your problem solved.

-Thanks


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 153
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 89
Toufiq

Toufiq

Total Accepted Answers: 21
Pavel

Pavel

Total Accepted Answers: 3
Al Mamun

Al Mamun

Total Accepted Answers: 3

113

Templates

289225

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us