Test ParseRFC822Date() with truncated time zone specifiers
This commit is contained in:
committed by
Vadim Zeitlin
parent
28ca585d12
commit
23b8ec6d9a
@@ -1139,6 +1139,18 @@ void DateTimeTestCase::TestParseRFC822()
|
|||||||
false
|
false
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"Sun 01 Jun 2008 16:39:10 +02", // truncated time zone
|
||||||
|
{ 0 },
|
||||||
|
false
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"Sun 01 Jun 2008 16:39:10 G", // truncated time zone
|
||||||
|
{ 0 },
|
||||||
|
false
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"Sat, 18 Dec 1999 10:48:30", // TZ missing
|
"Sat, 18 Dec 1999 10:48:30", // TZ missing
|
||||||
{ 0 },
|
{ 0 },
|
||||||
|
|||||||
Reference in New Issue
Block a user