]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
[locale] sl: Improve date format
authorMarko Hrovatic <marko@centiva.si>
Wed, 5 Jun 2019 09:05:21 +0000 (11:05 +0200)
committerIskren Chernev <iskren.chernev@gmail.com>
Fri, 24 Apr 2020 20:34:51 +0000 (23:34 +0300)
src/locale/sl.js
src/test/locale/sl.js

index 0012e15a573993196213a5babb7a8471032d10ed..6ee6210291ae3a46df41e94ba247ca0a39ce93c3 100644 (file)
@@ -97,7 +97,7 @@ export default moment.defineLocale('sl', {
     longDateFormat : {
         LT : 'H:mm',
         LTS : 'H:mm:ss',
-        L : 'DD.MM.YYYY',
+        L : 'DD. MM. YYYY',
         LL : 'D. MMMM YYYY',
         LLL : 'D. MMMM YYYY H:mm',
         LLLL : 'dddd, D. MMMM YYYY H:mm'
index c38a53fdf81b981162d712620361487b41f67daf..97e5280974487343dc3ac0bd06adf5505754ece6 100644 (file)
@@ -38,11 +38,11 @@ test('format', function (assert) {
             ['a A',                                'pm PM'],
             ['[the] DDDo [day of the year]',       'the 45. day of the year'],
             ['LTS',                                '15:25:50'],
-            ['L',                                  '14.02.2010'],
+            ['L',                                  '14. 02. 2010'],
             ['LL',                                 '14. februar 2010'],
             ['LLL',                                '14. februar 2010 15:25'],
             ['LLLL',                               'nedelja, 14. februar 2010 15:25'],
-            ['l',                                  '14.2.2010'],
+            ['l',                                  '14. 2. 2010'],
             ['ll',                                 '14. feb. 2010'],
             ['lll',                                '14. feb. 2010 15:25'],
             ['llll',                               'ned., 14. feb. 2010 15:25']