Skip to content

Commit b4cde84

Browse files
committed
OSS-Fuzz: Add new fuzzer/corpus/dict targets datetime processing
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
1 parent 44579b0 commit b4cde84

24 files changed

Lines changed: 201 additions & 0 deletions
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# ISO-8601 tokens for date/time/datetime.fromisoformat
2+
"T"
3+
"Z"
4+
"z"
5+
"+01:00"
6+
"+01:00:30"
7+
"-05:30"
8+
"+0000"
9+
"+01"
10+
"2024-01-15"
11+
"2024-01-15T10:30"
12+
"2024-01-15 10:30:00"
13+
"10:30"
14+
"10:30:00"
15+
"10:30:00.123456"
16+
"10:30:00,5"
17+
".123456"
18+
",123"
19+
"24:00"
20+
"00:00"
21+
"W"
22+
"-W"
23+
"2024-W03-1"
24+
"2024-W03"
25+
"2024-021"
26+
"0001-01-01"
27+
"9999-12-31"
28+
"23:59:59.999999"
29+
"+23:59"
30+
"-23:59"
31+
"hh"
32+
"mm"
33+
"ss"
12 Bytes
Binary file not shown.
12 Bytes
Binary file not shown.
12 Bytes
Binary file not shown.
12 Bytes
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2024-01-15T10:30
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2024-01-15 10:30:00
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2024-01-15T10:30:00.123456
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2024-01-15T10:30:00+01:00
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2024-01-15T10:30:00.123456-05:30

0 commit comments

Comments
 (0)