V
V
Valery2014-10-27 20:23:43
symfony
Valery, 2014-10-27 20:23:43

Why does a Symfony2 form display a neural time after a clock change?

There is a blog on Symfony2. The post model has a field with a date of type datetime.
After changing the clock on the server (Debian. Updated tzdate), everything seems to be fine, but in the Symfony2 forms, the date is shown an hour more than it actually is.
At the same time, the model itself shows the date correctly (for example, through the getDate() method).
I naturally cleaned caches, apc, memcached. Tried to force view_timezone and model_timezone - no effect. Even tried restarting the server. Did not help.
What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
neolink, 2014-10-27
@Akuma

Clock change in Russia on October 26 and icu4c

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question