]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
fix(hu):Improve long date time formats for hungarian.
authorBrett Johnson <brett.m.johnson@hp.com>
Mon, 22 Jun 2015 17:14:13 +0000 (11:14 -0600)
committerIskren Chernev <iskren.chernev@gmail.com>
Mon, 13 Jul 2015 00:30:40 +0000 (17:30 -0700)
src/locale/hu.js
src/test/locale/hu.js

index 029c197f5143a86c54efbfbb66d3aea41d43aabd..bc1350926041c86e3d99889f1f8a791fe5a1f625 100644 (file)
@@ -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,
index bde8e6733155ad51c19189b8de0c46f9bb33b5bc..3831f22fa1d5ab93f5a788ac4e239b11333eef1d 100644 (file)
@@ -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)),