Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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.