From: Brett Johnson Date: Mon, 22 Jun 2015 17:14:13 +0000 (-0600) Subject: fix(hu):Improve long date time formats for hungarian. X-Git-Tag: 2.10.5~24^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc3d6609c5e3f517eeed3561b27764b095f0ffa2;p=thirdparty%2Fmoment.git fix(hu):Improve long date time formats for hungarian. --- diff --git a/src/locale/hu.js b/src/locale/hu.js index 029c197f5..bc1350926 100644 --- a/src/locale/hu.js +++ b/src/locale/hu.js @@ -49,7 +49,7 @@ export default moment.defineLocale('hu', { LTS : 'H:mm:ss', L : 'YYYY.MM.DD.', LL : 'YYYY. MMMM D.', - LLL : 'YYYY. MMMM D., H:mm', + LLL : 'YYYY. MMMM D. H:mm', LLLL : 'YYYY. MMMM D., dddd H:mm' }, meridiemParse: /de|du/i, diff --git a/src/test/locale/hu.js b/src/test/locale/hu.js index bde8e6733..3831f22fa 100644 --- a/src/test/locale/hu.js +++ b/src/test/locale/hu.js @@ -38,11 +38,11 @@ test('format', function (assert) { ['LTS', '15:25:50'], ['L', '2010.02.14.'], ['LL', '2010. február 14.'], - ['LLL', '2010. február 14., 15:25'], + ['LLL', '2010. február 14. 15:25'], ['LLLL', '2010. február 14., vasárnap 15:25'], ['l', '2010.2.14.'], ['ll', '2010. feb 14.'], - ['lll', '2010. feb 14., 15:25'], + ['lll', '2010. feb 14. 15:25'], ['llll', '2010. feb 14., vas 15:25'] ], b = moment(new Date(2010, 1, 14, 15, 25, 50, 125)),