mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-17 16:26:51 +03:00
feat: add UUIDv7 documentation and customization
This commit is contained in:
@@ -52,7 +52,7 @@ class UnixTimeConverterTest extends TestCase
|
||||
'microseconds' => '999000',
|
||||
],
|
||||
|
||||
// This is the last possible time supported by v7 UUIDs.
|
||||
// This is the last possible time supported by v7 UUIDs (2 ^ 48 - 1).
|
||||
// 10889-08-02 05:31:50.655 +00:00
|
||||
[
|
||||
'uuidTimestamp' => new Hexadecimal('ffffffffffff'),
|
||||
@@ -155,7 +155,7 @@ class UnixTimeConverterTest extends TestCase
|
||||
'expected' => '000000000000',
|
||||
],
|
||||
|
||||
// This is the last possible time supported by v7 UUIDs:
|
||||
// This is the last possible time supported by v7 UUIDs (2 ^ 48 - 1):
|
||||
// 10889-08-02 05:31:50.655 +00:00
|
||||
[
|
||||
'seconds' => '281474976710',
|
||||
|
||||
Reference in New Issue
Block a user