Commit 2f630d6
authored
Fix incorrectly specified range of 64bit timestamps
The currently specified range
[-584554047284-02-23 16:59:44 UTC, 584554051223-11-09 07:00:16 UTC)
implies a range of ~3.7e19 seconds; however, if have only 64bit to encode an amount of seconds you can only represent amounts up to 18446744073709551615 seconds (i.e. ~1.8e19).
Consequently, the correct range when using a signed 64-bit integer to represent seconds is
[-292277022657-01-27 08:29:52 UTC, 292277026596-12-04 15:30:08 UTC)1 parent 1e4fd94 commit 2f630d6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
447 | | - | |
| 447 | + | |
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
| |||
0 commit comments