Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Galizia <micahgalizia@gmail.com>2017-02-22 04:37:25 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2017-02-26 19:16:22 +0300
commit489c09ad4b1a0753310a0f0391640f00621fe76e (patch)
treed44731044574d14398d51e02bb6dd311129415e5 /libavutil/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 'libavutil/tests')
-rw-r--r--libavutil/tests/parseutils.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/tests/parseutils.c b/libavutil/tests/parseutils.c
index 682b3907cf..180f624002 100644
--- a/libavutil/tests/parseutils.c
+++ b/libavutil/tests/parseutils.c
@@ -138,6 +138,13 @@ static void test_av_small_strptime(void)
{ "%Y - %m - %d", "2012-12-21" },
{ "%Y-%m-%d %H:%M:%S", "2012-12-21 20:12:21" },
{ " %Y - %m - %d %H : %M : %S", " 2012 - 12 - 21 20 : 12 : 21" },
+ { " %Y - %b - %d %H : %M : %S", " 2012 - nOV - 21 20 : 12 : 21" },
+ { " %Y - %B - %d %H : %M : %S", " 2012 - nOVemBeR - 21 20 : 12 : 21" },
+ { " %Y - %B%d %H : %M : %S", " 2012 - may21 20 : 12 : 21" },
+ { " %Y - %B%d %H : %M : %S", " 2012 - mby21 20 : 12 : 21" },
+ { " %Y - %B - %d %H : %M : %S", " 2012 - JunE - 21 20 : 12 : 21" },
+ { " %Y - %B - %d %H : %M : %S", " 2012 - Jane - 21 20 : 12 : 21" },
+ { " %Y - %B - %d %H : %M : %S", " 2012 - January - 21 20 : 12 : 21" },
};
av_log_set_level(AV_LOG_DEBUG);