From: Marko Hrovatic Date: Wed, 5 Jun 2019 09:05:21 +0000 (+0200) Subject: [locale] sl: Improve date format X-Git-Tag: 2.25.0~48^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17dcc40ffd5d7dcce06170a0b7d4a53375628082;p=thirdparty%2Fmoment.git [locale] sl: Improve date format --- diff --git a/src/locale/sl.js b/src/locale/sl.js index 0012e15a5..6ee621029 100644 --- a/src/locale/sl.js +++ b/src/locale/sl.js @@ -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' diff --git a/src/test/locale/sl.js b/src/test/locale/sl.js index c38a53fdf..97e528097 100644 --- a/src/test/locale/sl.js +++ b/src/test/locale/sl.js @@ -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']