diff options
Diffstat (limited to 'Modules/_datetimemodule.c')
-rw-r--r-- | Modules/_datetimemodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_datetimemodule.c b/Modules/_datetimemodule.c index 6241967..e68c7c0 100644 --- a/Modules/_datetimemodule.c +++ b/Modules/_datetimemodule.c @@ -696,7 +696,7 @@ static int parse_isoformat_date(const char *dtstr, if (NULL == p) { return -1; } - + if (*(p++) != '-') { return -2; } |