32-bit-boundaries

About this case

Values a 32-bit signed or unsigned timestamp can't hold

Source
Focused regression
Input
11 lines, 11 valid · 327 B · raw text
Output
115 B
Archive
000021_must_render_exactly/input

Input

Invisible characters are shown as symbols, such as ␀ for NUL and ␉ for tab.

# Line Expected
1 Fri, 13 Dec 1901 20:45:51 GMT -2147483649
2 Fri, 13 Dec 1901 20:45:52 GMT -2147483648
3 Tue, 19 Jan 2038 03:14:07 GMT 2147483647
4 Tue, 19 Jan 2038 03:14:08 GMT 2147483648
5 Sun, 07 Feb 2106 06:28:15 GMT 4294967295
6 Sun, 07 Feb 2106 06:28:16 GMT 4294967296
7 Tuesday, 19-Jan-38 03:14:08 GMT 2147483648
8 Tuesday, 31-Dec-69 23:59:59 GMT 3155759999
9 Thursday, 01-Jan-70 00:00:00 GMT 0
10 Tue Jan 19 03:14:08 2038 2147483648
11 Fri Dec 13 20:45:51 1901 -2147483649

Expected output

The output must match these bytes exactly.

-2147483649
-2147483648
2147483647
2147483648
4294967295
4294967296
2147483648
3155759999
0
2147483648
-2147483649