Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1575

General Questions/New to Joomla! 3.x • Re: Changed directly in MySQL publish_up field for a module shows VERY wrong time

$
0
0
Hello Peter,
thank you for your answer and sorry for delay with reply.
1) My version is 3.9.28 Stable and sorry, I can't upgrade
2) All users time including Server Admin has a "default" time settings, I was testing changing time there - did not help.
But it seems I found a solution although "by blind testing" - may be will help to somebody.
I've supposed it's associated with Calendar and found files containing "UTC" using inner server search.
When I've changed all 'UTC" to 'America/Chicago' in files
/libraries/fof/form/field/calendar.php
/libraries/joomla/form/fields/calendar.php
- now I see correct time, I mean if I set
mysql -uroot -N -e 'UPDATE joomla.apncl_modules SET publish_up = NOW() WHERE id=238' ;
and then open Module with id = 238 from Administrator backend interface
-> I see "Start Publishing" time exactly as general server time, PHP time, MySQL time etc
mysql -uroot -e 'SELECT NOW()'
***
IMHO - I did not tested yet Joomla 5.x but it seems Joomla time should be much more controlled by SuperAdmin.
If I say, for example, "America/Chicago" in global config - it should be everywhere without the "hidden UTC" somewhere.
Well (if allowed) let's user set his own time for himself for his own user's interface ONLY - but should not be any "ambiguities" for system settings.
***
Thank you for your attention !
Kind Regards,
Serge

Statistics: Posted by Sarge_2022 — Tue Oct 01, 2024 7:12 pm



Viewing all articles
Browse latest Browse all 1575

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>