* added a couple more test dates that contain timezones
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30865 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
*/
|
*/
|
||||||
@@ -31,12 +31,12 @@ parsedate_flags_to_string(time_t result, int flags)
|
|||||||
|
|
||||||
return "day relative";
|
return "day relative";
|
||||||
}
|
}
|
||||||
|
|
||||||
return "absolute";
|
return "absolute";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
const char *dates[] = {
|
const char *dates[] = {
|
||||||
@@ -65,6 +65,13 @@ main(int argc, char **argv)
|
|||||||
"3:33pm GMT",
|
"3:33pm GMT",
|
||||||
"Mon, June 10th, 1993 10:00:03 am GMT",
|
"Mon, June 10th, 1993 10:00:03 am GMT",
|
||||||
"Sat, 16 Aug Ìîñêîâñêîå âðåìÿ (çèìà)",
|
"Sat, 16 Aug Ìîñêîâñêîå âðåìÿ (çèìà)",
|
||||||
|
"Mon, June 10th, 1993 10:00:03 am UTC",
|
||||||
|
"Mon, June 10th, 1993 10:00:03 am CEST",
|
||||||
|
"Mon, June 10th, 1993 10:00:03 am +0000",
|
||||||
|
"Mon, June 10th, 1993 10:00:03 am 0000", // invalid!
|
||||||
|
"Mon, June 10th, 1993 10:00:03 am +0100",
|
||||||
|
"Mon, June 10th, 1993 10:00:03 am -0700",
|
||||||
|
"Mon, June 10th, 1993 06:00:03 am ACDT",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user