GatherPress / gatherpress

Powering our community's event management needs.
https://wordpress.org/plugins/gatherpress/
GNU General Public License v2.0
74 stars 25 forks source link

Datetime formatting confussion #727

Closed carstingaxion closed 51 minutes ago

carstingaxion commented 1 month ago

Describe your question

I'm still unsure if the behaviour of localised date and times is working how it is supposed to work.

  1. This is my (logged-in) view of the homepage, https://gatherpress.org/ grafik

  2. This is my (logged-in) view of an event, https://gatherpress.org/event/gatherpress-weekly-huddle-49/ grafik

  3. And this is my selected timezone and formatting settings in my user profile https://gatherpress.org/wp-admin/profile.php grafik

Is the different time-formatting wanted?

Code of Conduct

patriciabt commented 1 month ago

Oh right! On the event posts it takes the format we define correctly but in the query added on the home page (with the Event list block) it takes the format we have to define in the block image

I tried to empty that format on the right (in the block) but it still shows that format, which is the site default: D, M j, Y, g:i a T

Not sure how to solve that

carstingaxion commented 1 month ago

Thank you for clarification @patriciabt !

For the current/old Event list block, I would suggest the won't fix label and keep as is.

In the future, I hope for version 0.30.0 0.31.0, all of the use-cases here should be handled by an updated version of the Event date block (#684). So that should be fine, but needs documentation. Something like:

The Event date block shows the date & time of the current event. Its formatting can change depending on editors choice and the currently logged-in user.

By default the block uses the site-wide default from the GatherPress settings. An editor can overwrite this formatting on the block level. A logged-in user would get the block rendered with their custom date & time formatting, if set in her user profile,