packagist ramsey/uuid 3.9.3

latest releases: 4.x-dev, dev-dependabot/github_actions/codecov/codecov-action-4.3.1, dev-dependabot/github_actions/ridedott/merge-me-action-2.10.79...
4 years ago

Fixed

  • For v1 UUIDs, round down for timestamps so that microseconds do not bump the
    timestamp to the next second.

    As an example, consider the case of timestamp 1 with 600000 microseconds
    (1.600000). This is the first second after midnight on January 1, 1970, UTC.
    Previous versions of this library had a bug that would round this to 2, so
    the rendered time was 1970-01-01 00:00:02. This was incorrect. Despite
    having 600000 microseconds, the time should not round up to the next second.
    Rather, the time should be 1970-01-01 00:00:01.600000. Since this version of
    ramsey/uuid does not support microseconds, the microseconds are dropped, and
    the time is 1970-01-01 00:00:01. No rounding should occur.

Don't miss a new uuid release

NewReleases is sending notifications on new releases.