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.

有帮助吗?

解决方案

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"

其他提示

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".

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top