LMTT Design
Forum Replies Created
-
Forum: Plugins
In reply to: [Google Calendar List View] Shortcode Displaying Wrong Dates (UTC Issue)Thank you so much for the help and the amazing support!
Coding a specific solution for our case was really unexpected, and we can’t thank you enough for all the attention and support you gave us!Rating it 5 stars and marking this as solved!
Thank you so much!Forum: Plugins
In reply to: [Google Calendar List View] Shortcode Displaying Wrong Dates (UTC Issue)Hello again!
Changing our shortcode to:
[gc_list_view orderbysort=”ascending” date_format='d/m/Y H:i:S']
That’s the result we got:
Event I 21/11/2021 21:00:st
Event II 21/11/2021 21:00:st
Event III 23/11/2021 21:00:rd
Event IV 24/11/2021 21:00:thAll those events lasts all day long.
Our local timezone (system timezone?) is: UTC-03:00 Brasília
(choosen automatically and there isn’t a “Sao Paulo” option)That’s the website in question:
https://monteirolobatosp.com/Here’s a page where you can see another calendar plugin working properly:
https://monteirolobatosp.com/calendario/Forum: Plugins
In reply to: [Google Calendar List View] Shortcode Displaying Wrong Dates (UTC Issue)Hello! First of all, thank you for your reply!
Since we’re using CPanel, we changed the server timezone through php.ini.Here’s what our PHP file looks like:
date.timezone = “America/Sao_Paulo” (set following the supported timezones rules)Here’s the timezone we’ve set on WordPress:
UTC-3 (also tried “America/Sao Paulo”, but it didn’t work)The WordPress date example we got was:
universal time: 2021/11/18 03:19:37
local time: 2021/11/18 00:19:37On Google Calendar, the timezone is:
America/Sao_PauloOur shortcode looks like this:
[gc_list_view orderbysort=”ascending” date_format=’d/m/Y’]The final result is:
07/11/2021 (ie. 2021/11/07)It should be:
08/11/2021 (ie. 2021/11/08)Is there anything else we can do?
Currently using:
Google Calendar List View 6.5.2
WordPress 5.8.2