#31714 – Still having problem with Away Schedule

Posted in ‘Akeeba Admin Tools for Joomla!’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 04 September 2019 13:36 CDT
Referring back to Ticket #31695,

Today I set an Away Schedule.

My Joomla Configuration and User Profile are set to Los_Angeles timezone.
I used a php.ini file in my site root to set "site" time to Los_Angeles timezone.
I used WHM MultiPHP INI Editor to set all PHP7.2 sites on my hosting account to Los_Angeles timezone.
When I navigate to sitename/phpinfo.php, the date section of the report shows the Local and Master value of date.timezone to be Los_Angeles.

At 10:50 here Los_Angeles time, when I navigate to backend Admin Tools > Configure WAF,
the blue-box message shows server time = 17:50.

OK. My clock says 10:50. Admin Tools says 17:50. That's UTC.

I want an Away Schedule of 01:00 to 07:00 Los_Angeles time,
so I calculate that I will need to enter 08:00 to 14:00 in the Away Schedule UTC fields.

I enter those values at 10:50 here.

I click Save.

I am instantly locked out.

:-O

I'm not joking.
I have several hours of work that I need to do right now, and I cannot access the backend of that site. I guess I will be locked out until 14:00 Los_Angeles time?
I should have tested it with a 5 minute interval, but my impression after our prior conversation was that we were all confident that we knew exactly how the thing worked.

Either I am being really stupid about how Away Schedule works, or something is not working the way you say it should work.

Any idea which it is?
Custom Fields
Joomla! version (in x.y.z format) 3.9.11
PHP version (in x.y.z format) 7.2
Admin Tools version (x.y.z format) 5.3.3
 
DCS
Thursday, 05 September 2019 03:21 CDT
You are right and I was wrong.

The away schedule must be given in the Server Timezone you have set up in your Joomla's Global Configuration. We made this change a very long time ago and I completely forgot about it.

The time displayed in the Away Schedule section of the Configure WAF page is wrong; it's always expressed in GMT. That's a bug which was introduced because of Joomla's misleading code documentation. I had fixed it everywhere else but not in the Away Schedule page. Of course that oversight confused both of us. Point taken, bug fixed with extreme prejudice.

See the attachment about a preview of how the Away Schedule will look in the next release. I think it's better now, showing the timezone abbreviation next to the from/to away schedule entry boxes. Moreover, the blue box displays the correct time and notes both the timezone abbreviation (in your case, PDT) and the full timezone name which is what Joomla displays in its interface. It also tells you where to go to change it.


Nicholas K. Dionysopoulos

Lead Developer and Director



Greek: native

English: excellent

French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
Thursday, 05 September 2019 09:51 CDT
OK!

Well, I feel better about all of this now. Thanks for sorting it out.

Dave

 
DCS
Friday, 06 September 2019 01:03 CDT
Thank you for the heads up! The new version is out and has the improved wording.


Nicholas K. Dionysopoulos

Lead Developer and Director



Greek: native

English: excellent

French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!

Cookies Notification - Action required

This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. You can change your preference later, from the controls which will be made available to you at the bottom of every page of our site.