Een datum en locatie invoegen

Hi, how come when I use this date and location code:

[date=2025-09-20 timezone="America/Fortaleza"]

The result when I click the date in my post is this one giving me the date and location for two cities, Cayenne (French Guyana) and Paris (France), none of them are Fortaleza (Brazil) where I live?

I managed to find out my setting

discourse local dates default timezones

is set to Europe/Paris so that explains the date and location code displaying Paris (and that is fine since most of my members are in France), but for Cayenne I have that in my profile so it should use Fortaleza?

Oh wacht! Het geeft me Fortaleza op mobiel en Cayenne op desktop.

2 likes

Kon u uw probleem oplossen?

Hebt u uw webbrowser op mobiel vernieuwd nadat u de instelling op desktop hebt gewijzigd?

Ik heb een nieuwe test gedaan en deze geeft nu de juiste informatie op zowel desktop als mobiel.

1 like

Fijn dat je je probleem hebt opgelost! Ik weet niet zeker wat ik met dit onderwerp moet doen. Zit hier feedback in over de bruikbaarheid van de configuratie van tijdzones? Kun je het Cayenne-probleem repliceren?

Voorlopig kan ik het probleem niet repliceren, maar de hoofdoorzaak weet ik niet, ik denk dat het een browserinstelling en/of cacheprobleem kan zijn…

I just slipped this across to UX because I am realizing you are sharing feedback here about a limitation we have in Discourse with the way time zones work.

I myself shift location frequently between Berlin and Seattle. When I am in Berlin and select Use Current Timezone in my preferences it selects Europe/Berlin, but when I am in Seattle it selects America/Los_Angeles. This is because there are a limited number of available timezones to choose from. It’s always been this way.


A UX improvement would be to allow the user to enter in/select their own location and then for Discourse to map it to the time zone automatically. This is how it works in most operating systems, for example.

I also think it would be helpful for Discourse to prompt the user to change the timezone when the timezone configured is different from the current timezone, without having to go to their user preferences and find the setting.

1 like

Ja, goede ideeën voor verbetering.