New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create DateTime with nanoseconds #90
Comments
Unfortunately, this is failing our tests, since the |
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. |
Another try:
|
I'm still working on this, but it's causing test failures, and I want to be careful, since changing the tests without considering the consequences in these cases could break software that depends on this library. See #93 for the changes. |
Please see version 4.0.0-alpha1. The |
How can we get 4.0.0 through composer? Waiting for that release for a project. |
While the 4.0.0-alpha1 API is fairly stable, I don't recommend using it in production until the 4.0.0 release. That said, if you'd like to test it, I would recommend using this in your
|
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:
The text was updated successfully, but these errors were encountered: