eZ Community » Forums » eZ Platform » Date field: Timezone difference...
expandshrink

Date field: Timezone difference between legacy backend and ezplatform frontend

Date field: Timezone difference between legacy backend and ezplatform frontend

Monday 26 June 2017 3:29:49 pm

Hi,

i'm using ezplatform 1.7 with legacy bridge and the legacy backend. When a date field is set in the legacy backend, e.g. 2017/07/13, ez_render_fields outputs "2017/07/12" in frontend.

When using a datetime field, the time difference is 2 hours.

A dump of ez_field_value outputs the following:

Value {#12603+date: DateTime {#12605+"date": "2017-07-13 00:00:00.000000"+"timezone_type": 1+"timezone": "+00:00"}+stringFormat: "l d F Y"}

php.ini timezone is set to "Europe/Berlin", legacy site.ini timezone is set to "Europe/Berlin" too.

Thanks for your help happy.gif Emoticon

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from