Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question