?
avatar arbindbhagat
arbindbhagat
6 Nov 2017

Steps to reproduce the issue

Edit a module, and set its Start Publishing date/time to any particular time.

Expected result

The module should start publishing at the date/time that is set up. And this should be based on the server time set under System >> Global Configuration >> Server.

Actual result

The module is published according to the UTC time instead.

System information (as much as possible)

Joomla 3.8.1

Additional comments

This is making it harder to the automation of the things.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar arbindbhagat arbindbhagat - open - 6 Nov 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Nov 2017
avatar mbabker
mbabker - comment - 6 Nov 2017

Can you check the PHP configured timezone (should be in system info), your site's default timezone (set in global config), and the timezone preference for the affected user account(s)?

Joomla standardizes storage to UTC and converts to the right timezone based on the active configs. So it's possible something is set to UTC when you intend for it to be set in a local timezone.

avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Nov 2017
Category com_modules
avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Nov 2017
Status New Information Required
avatar arbindbhagat
arbindbhagat - comment - 6 Nov 2017

I looked at System Information >> PHP Information, and I see UTC at one place. Attached is the screenshot.

Where is this configured? At Server PHP?

If so, how do I override this per site, since there are several sites on the same server, each from different time-zones?
001

avatar mbabker
mbabker - comment - 6 Nov 2017

That screenshot's your server's default timezone. It's actually for the best it is set to UTC.

In the Joomla global config there is an option to set the default timezone for the site. In each user's profile there is also an option to set a timezone for the user account (so this impacts logged in users, the global config is for unauthenticated users or logged in users using the global config).

avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Nov 2017
Status Information Required Expected Behaviour
Closed_Date 0000-00-00 00:00:00 2017-11-07 05:56:56
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 7 Nov 2017
Status Expected Behaviour Closed
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 7 Nov 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 7 Nov 2017

closed as expected Behaviour.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18513.

avatar joomla-cms-bot
joomla-cms-bot - comment - 7 Nov 2017
avatar arbindbhagat
arbindbhagat - comment - 7 Nov 2017

I have set the New York time zone in the global config. However, the public users are still seeing the modules (if a start-publishing date is set) according to the UTC timezone.

Is that a bug? Should Joomla not follow the timezone set in global config? As of now, it is not.

Add a Comment

Login with GitHub to post a comment