Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/java/com/alibaba/fastjson/parser/JSONScanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,10 @@ private boolean scanISO8601DateIfMatch(boolean strict, int rest) {

char c8 = charAt(bp + 8);
char c9 = charAt(bp + 9);

if (rest == 9) {
c9 = ' ';
}

int date_len = 10;
char y0, y1, y2, y3, M0, M1, d0, d1;
Expand Down