summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2016-02-04 02:50:42 +0100
committerMarton Balint <cus@passwd.hu>2016-02-14 01:46:35 +0100
commitf834f0cab60f764664a78bad71aec8374e45876e (patch)
tree877eb3ba4ca1b93a89ea02124af997ff16529c70 /tests
parent3235241061d6a7d79b261b13596620e5dcf015bf (diff)
avutil/parseutils: accept everything in av_parse_time that ff_iso8601_to_unix_time accepts
Also parse timezone information previously ignored in ff_iso8601_to_unix_time. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/fate/parseutils3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ref/fate/parseutils b/tests/ref/fate/parseutils
index 176140ce8c..e9855ceefa 100644
--- a/tests/ref/fate/parseutils
+++ b/tests/ref/fate/parseutils
@@ -74,7 +74,10 @@ Testing av_parse_time()
now -> 1331972053.200000 = 2012-03-17T08:14:13Z
12:35:46 -> 1331984146.000000 = 2012-03-17T11:35:46Z
2000-12-20 0:02:47.5z -> 977270567.500000 = 2000-12-20T00:02:47Z
+2012 - 02-22 17:44:07 -> 1329929047.000000 = 2012-02-22T16:44:07Z
2000-12-20T010247.6 -> 977270567.600000 = 2000-12-20T00:02:47Z
+2000-12-12 1:35:46+05:30 -> 976565146.000000 = 2000-12-11T20:05:46Z
+2112-12-12 22:30:40-02 -> 4511032240.000000 = 2112-12-13T00:30:40Z
2:34:56.79 -> +9296790000
-1:23:45.67 -> -5025670000
42.1729 -> +42172900