Join GitHub today
create DateTime with nanoseconds #90
The uuid1 is using nanoseconds, but the UuidInterface returns a DateTime object which does not include the nanoseconds.
DateTime can handle it if you adjust the initialization:
I spoke with Derick about it, and he has already fixed it in timelib. It will sync into PHP shortly: derickr/timelib@483fbab
Derick supposes it will hit PHP versions 5.5.31 / 5.6.15 / 7.0.0RC6. Since we still support 5.4 (and versions earlier than 5.5.31 and 5.6.15) in this library, we may not be able to use this functionality for a while. I'm investigating other options.