-
Type: New Feature
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
This was requested in mongodb/mongo-php-driver#246. derick proposed adding a new method to UTCDateTime:
We can't change how toDateTime behaves, as that would mean breaking backwards compatibility. But we could add a toLocalDateTime() method or something similar to add the default configured timezone to the \DateTime object that it returns.
- causes
-
PHPLIB-341 Add LocalDateTime example to tutorial
- Closed
- is related to
-
PHPC-640 Implement interfaces for userland BSON type classes
- Closed
- links to