Support

Admin Tools

#31714 Still having problem with Away Schedule

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Friday, 06 September 2019 01:03 CDT

DCS
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?

nicholas
Akeeba Staff
Manager
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 • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

DCS
OK!

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

Dave

nicholas
Akeeba Staff
Manager
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 • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

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!