leap-years

About this case

Source
Focused regression
Input
12 lines, 7 valid · 358 B · raw text
Output
115 B
Archive
000010_must_render_exactly/input

Input

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

# Line Expected
1 Tue, 29 Feb 1600 00:00:00 GMT -11670998400
2 Tue, 29 Feb 2000 23:59:59 GMT 951868799
3 Thu, 29 Feb 2024 12:00:00 GMT 1709208000
4 Tue, 29 Feb 2400 00:00:00 GMT 13574563200
5 Tuesday, 29-Feb-00 00:00:00 GMT 951782400
6 Tuesday, 29-Feb-72 00:00:00 GMT 68169600
7 Tue Feb 29 00:00:00 2000 951782400
8 Thu, 29 Feb 1900 00:00:00 GMT invalid
9 Mon, 29 Feb 2100 00:00:00 GMT invalid
10 Wed, 29 Feb 2023 00:00:00 GMT invalid
11 Wednesday, 29-Feb-23 00:00:00 GMT invalid
12 Wed Feb 29 00:00:00 2023 invalid

Expected output

The output must match these bytes exactly.

-11670998400
951868799
1709208000
13574563200
951782400
68169600
951782400
invalid
invalid
invalid
invalid
invalid