1
0
mirror of synced 2025-02-02 21:41:45 +03:00

Removing symfony-specific documentation

This commit is contained in:
Marco Pivetta 2015-12-11 18:43:53 +01:00
parent 93806a8036
commit 5b22e59383

View File

@ -127,16 +127,7 @@ the UTC time at the time of the booking and the timezone the event happened in.
}
This database type makes sure that every DateTime instance is always saved in UTC, relative
to the current timezone that the passed DateTime instance has. To actually use that new type, configure it in ``config.yml`` like so:
.. code-block:: yml
doctrine:
dbal:
types:
datetime: DoctrineExtensions\DBAL\Types\UTCDateTimeType
datetimetz: DoctrineExtensions\DBAL\Types\UTCDateTimeType
to the current timezone that the passed DateTime instance has.
To be able to transform these values
back into their real timezone you have to save the timezone in a separate field of the entity