- Notifications
You must be signed in to change notification settings - Fork1
UTC DateTime types for Doctrine DBAL and ORM
License
NotificationsYou must be signed in to change notification settings
simPod/doctrine-utcdatetime
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Contains DateTime and DateTimeImmutable Doctrine DBAL types that store datetimes in UTC timezone (TIMESTAMP
type in postgres).
For more detailed explanation seeDoctrine ORM docs andthis comment.
For more info about usage in Doctrine ORM seeDoctrine documentation. The code is mostly copied from there.
composer require simpod/doctrine-utcdatetime
Simply copied from DoctrineExtensions' documentation:
doctrine:dbal:types:datetime:SimPod\DoctrineUtcDateTime\UTCDateTimeTypedatetimetz:SimPod\DoctrineUtcDateTime\UTCDateTimeTypedatetime_immutable:SimPod\DoctrineUtcDateTime\UTCDateTimeImmutableTypedatetimetz_immutable:SimPod\DoctrineUtcDateTime\UTCDateTimeImmutableType
About
UTC DateTime types for Doctrine DBAL and ORM
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published