date changes on editing

38 views
Skip to first unread message

ste...@gmail.com

unread,
May 8, 2018, 11:43:21 AM5/8/18
to Joomla! CMS Development
Has anyone seen this?  when I try to edit anything (article or profile, etc) on my J3.8.7 site that has the calendar date selector it changes the date, usually 1 day prior to the actual date that was previously selected.
This is not specific to J3.8.7 as it was happening on 3.8.5 as well just wondering if someone else ran into it an may know the fix.

Steve

Michael Babker

unread,
May 8, 2018, 12:17:52 PM5/8/18
to joomla-...@googlegroups.com
Check your timezone settings for the user account and the global config.

--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send email to joomla-...@googlegroups.com.
Visit this group at https://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/d/optout.

Izhar Aazmi

unread,
May 8, 2018, 12:23:48 PM5/8/18
to joomla-...@googlegroups.com
IMHO, Whatever be the timezone setting, the date must not change on each save. We need to find some solution for this. For what I believe, it should not happen when the date field has time part included. Can anyone verify my assumption, please.

ste...@gmail.com

unread,
May 10, 2018, 7:55:55 AM5/10/18
to Joomla! CMS Development
Thanks Michael
I double checked the server and user timezone settings they both are the same.

Webdongle Elgnodbew

unread,
May 10, 2018, 9:39:15 AM5/10/18
to Joomla! CMS Development
Does not the calendar use the date/time of the computer that is editing it ?

Michael Babker

unread,
May 10, 2018, 9:58:38 AM5/10/18
to joomla-...@googlegroups.com
If your Joomla user account timezone or the timezone set in Joomla's global config is set to the same timezone as the computer, it will appear that way (which may be the case if you live in the UTC timezone since that's our default setting IIRC), but no it is not based on your computer's timezone.  The calendar fields in core use a filter to convert times (which are all stored in UTC) to a preferred display timezone, this will be the one set in the user's account if it's not set to use the default then falls back onto the timezone set in the global config.

I can't explain the "drift" Steve is seeing when saving things, I just know a good first troubleshooting step needs to be validate Joomla timezone settings, and it probably doesn't hurt to make sure the server's time and timezone isn't misconfigured.  Beyond that you really have to get your hands dirty with the problematic sites to see what's happening.

--
Reply all
Reply to author
Forward
0 new messages