#Timezones not working

1 messages · Page 1 of 1 (latest)

heady oracle
#

With the Set Variable block I'm trying to save the current date time using NOW and the Timezone ART (Argentina Timezone UTC-03:00). However, in a test run, when the local time was 2024-03-24T10:45:51 (Argentina Time) in the results the variable appears as "2024-03-24T15:45:51+02:00". Any guess why?

fresh zodiac
#

Are you using self-hosted version ?

heady oracle
#

Yes

fresh zodiac
#

@heady oracle There is no variable on .ENV file to set a timezone, so I think the problem is the time zone on your server, you need check and set.

heady oracle
#

My host sistem is on time with the correct timezone. However, I connected to the console of the builder container and run "date" and I got "Mon Mar 25 12:58:47 UTC 2024" (2hs from current Argentina time)

heady oracle
#

I tried changing the timezone in each container manually but typebot is still using +2 timezone

fresh zodiac
#

@heady oracle do you insert some value here ?

heady oracle
#

yes "ART". I tried with America/Argentina/Buenos Aires but i got a server error

#

Well, I've just solved it. Using America/Argentina/Buenos_Aires with "_" instead of a space did the job. It would be very useful a list of available in the documentation. Thanks for the asistance!!