Domanda

After installing plone.app.event v1.1 I see a bunch of warning messages on the log:

2014-04-28 16:06:11 WARNING plone.event The timezone BRT is not a valid timezone from the Olson database or pytz. Falling back to UTC.

I see there's a new control panel configlet, but I am wondering if there's another way of setting this outside of Plone. Environment variable? Buildout?

In the end, this BRT timezone information should be coming from the OS.

È stato utile?

Soluzione

In fact the problem is just lack of documentation on the package.

The only thing you need is set up the TZ environment variable with the right value:

export TZ="Brazil/East"

Altri suggerimenti

You need to choose from one of the time zones in this list.

If by "BRT" you mean Brasilia Time, then you should use "America/Sao_Paulo".

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top