summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMicah Galizia <micahgalizia@gmail.com>2017-02-21 20:37:25 -0500
committerMichael Niedermayer <michael@niedermayer.cc>2017-02-26 17:16:22 +0100
commit489c09ad4b1a0753310a0f0391640f00621fe76e (patch)
treed44731044574d14398d51e02bb6dd311129415e5 /tests
parent3a003cc3817f97f92e572ce41379011bf7f705b7 (diff)
add locale month names to av_small_strptime
Signed-off-by: Micah Galizia <micahgalizia@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/fate/parseutils7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ref/fate/parseutils b/tests/ref/fate/parseutils
index 1aad5ec823..568b6d28be 100644
--- a/tests/ref/fate/parseutils
+++ b/tests/ref/fate/parseutils
@@ -68,6 +68,13 @@ fmt:'%Y-%m-%d' spec:'2012-12-21' -> 2012-12-21 00:00:00
fmt:'%Y - %m - %d' spec:'2012-12-21' -> 2012-12-21 00:00:00
fmt:'%Y-%m-%d %H:%M:%S' spec:'2012-12-21 20:12:21' -> 2012-12-21 20:12:21
fmt:' %Y - %m - %d %H : %M : %S' spec:' 2012 - 12 - 21 20 : 12 : 21' -> 2012-12-21 20:12:21
+fmt:' %Y - %b - %d %H : %M : %S' spec:' 2012 - nOV - 21 20 : 12 : 21' -> 2012-11-21 20:12:21
+fmt:' %Y - %B - %d %H : %M : %S' spec:' 2012 - nOVemBeR - 21 20 : 12 : 21' -> 2012-11-21 20:12:21
+fmt:' %Y - %B%d %H : %M : %S' spec:' 2012 - may21 20 : 12 : 21' -> 2012-05-21 20:12:21
+fmt:' %Y - %B%d %H : %M : %S' spec:' 2012 - mby21 20 : 12 : 21' -> error
+fmt:' %Y - %B - %d %H : %M : %S' spec:' 2012 - JunE - 21 20 : 12 : 21' -> 2012-06-21 20:12:21
+fmt:' %Y - %B - %d %H : %M : %S' spec:' 2012 - Jane - 21 20 : 12 : 21' -> error
+fmt:' %Y - %B - %d %H : %M : %S' spec:' 2012 - January - 21 20 : 12 : 21' -> 2012-01-21 20:12:21
Testing av_parse_time()
(now is 2012-03-17 09:14:13.2 +0100, local time is UTC+1)