From patchwork Tue Feb 21 00:05:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 2620 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.65.149 with SMTP id x21csp151740vsf; Mon, 20 Feb 2017 16:05:37 -0800 (PST) X-Received: by 10.28.58.204 with SMTP id h195mr21720612wma.116.1487635537139; Mon, 20 Feb 2017 16:05:37 -0800 (PST) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id u70si14130041wmf.106.2017.02.20.16.05.36; Mon, 20 Feb 2017 16:05:37 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 79AD368992B; Tue, 21 Feb 2017 02:05:25 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B4245689824 for ; Tue, 21 Feb 2017 02:05:18 +0200 (EET) Received: from mfilter14-d.gandi.net (mfilter14-d.gandi.net [217.70.178.142]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 67249A80C8 for ; Tue, 21 Feb 2017 01:05:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter14-d.gandi.net Received: from relay3-d.mail.gandi.net ([IPv6:::ffff:217.70.183.195]) by mfilter14-d.gandi.net (mfilter14-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id YRkhLMFd3NxL for ; Tue, 21 Feb 2017 01:05:25 +0100 (CET) X-Originating-IP: 213.47.41.20 Received: from localhost (213-47-41-20.cable.dynamic.surfer.at [213.47.41.20]) (Authenticated sender: michael@niedermayer.cc) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id D11E3A80C6 for ; Tue, 21 Feb 2017 01:05:24 +0100 (CET) Date: Tue, 21 Feb 2017 01:05:02 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20170221000502.GY5776@nb4> References: <20170220104750.GA2923380@phare.normalesup.org> <20170220203043.742-1-micahgalizia@gmail.com> MIME-Version: 1.0 In-Reply-To: <20170220203043.742-1-micahgalizia@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [FFmpeg-devel] [PATCH] add locale month names to av_small_strptime X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" On Mon, Feb 20, 2017 at 03:30:43PM -0500, Micah Galizia wrote: > Signed-off-by: Micah Galizia > --- > libavutil/parseutils.c | 28 ++++++++++++++++++++++++++++ > libavutil/tests/parseutils.c | 7 +++++++ > 2 files changed, 35 insertions(+) breaks fate Test parseutils failed. Look at tests/data/fate/parseutils.err for details. [...] --- ./tests/ref/fate/parseutils 2017-02-20 17:22:51.749108272 +0100 +++ tests/data/fate/parseutils 2017-02-21 01:04:00.337691174 +0100 @@ -68,6 +68,13 @@ 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)