Upstream brick/date-time state of the touched files before 77aa416937
This commit is contained in:
1 parent
491e7ada29
commit
104867f051
5 files changed
+36
-67
No files matched your search
@@ -573,11 +573,11 @@ class InstantTest extends AbstractTestCase
|
||||
public static function providerGetIntervalTo(): array
|
||||
{
|
||||
return [
|
||||
[1672567200, 0, 1672567200, 0, '2023-01-01T10:00:00Z/2023-01-01T10:00:00Z'],
|
||||
[1672567200, 0, 1672567210, 0, '2023-01-01T10:00:00Z/2023-01-01T10:00:10Z'],
|
||||
[1672567200, 0, 1672567200, 0, '2023-01-01T10:00Z/2023-01-01T10:00Z'],
|
||||
[1672567200, 0, 1672567210, 0, '2023-01-01T10:00Z/2023-01-01T10:00:10Z'],
|
||||
[1672567200, 1000000, 1672567210, 2000000, '2023-01-01T10:00:00.001Z/2023-01-01T10:00:10.002Z'],
|
||||
[1672567200, 1, 1672567200, 9, '2023-01-01T10:00:00.000000001Z/2023-01-01T10:00:00.000000009Z'],
|
||||
[1672567200, 0, 1672653600, 0, '2023-01-01T10:00:00Z/2023-01-02T10:00:00Z'],
|
||||
[1672567200, 0, 1672653600, 0, '2023-01-01T10:00Z/2023-01-02T10:00Z'],
|
||||
];
|
||||
}
|
||||
|
||||
@@ -648,14 +648,11 @@ class InstantTest extends AbstractTestCase
|
||||
[-2000000000, 0, '1906-08-16T20:26:40Z'],
|
||||
[-1, 0, '1969-12-31T23:59:59Z'],
|
||||
[-1, 123, '1969-12-31T23:59:59.000000123Z'],
|
||||
[0, 0, '1970-01-01T00:00:00Z'],
|
||||
[0, 0, '1970-01-01T00:00Z'],
|
||||
[0, 123456, '1970-01-01T00:00:00.000123456Z'],
|
||||
[1, 0, '1970-01-01T00:00:01Z'],
|
||||
[1, 123456789, '1970-01-01T00:00:01.123456789Z'],
|
||||
[2000000000, 0, '2033-05-18T03:33:20Z'],
|
||||
// whole minute and whole hour must keep the full ":00" seconds (RFC 3339 section 5.6)
|
||||
[1700000040, 0, '2023-11-14T22:14:00Z'],
|
||||
[1700002800, 0, '2023-11-14T23:00:00Z'],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user