]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Updated tests for am/pm in `he` locale
authorDaniel Cohen Gindi <Danielgindi@gmail.com>
Wed, 30 Dec 2015 07:20:05 +0000 (09:20 +0200)
committerIskren Chernev <iskren.chernev@gmail.com>
Sun, 6 Mar 2016 09:10:08 +0000 (01:10 -0800)
src/test/locale/he.js

index 8d2d2641e1b51288d8263a9933b8b21c8c2c6bcd..e4a479bb079dc03a2646cc520b988f6151b72126 100644 (file)
@@ -22,8 +22,8 @@ test('parse', function (assert) {
 
 test('format', function (assert) {
     var a = [
-            ['dddd, MMMM Do YYYY, h:mm:ss a',      'ראשון, פברואר 14 2010, 3:25:50 pm'],
-            ['ddd, hA',                            'א׳, 3PM'],
+            ['dddd, MMMM Do YYYY, h:mm:ss a',      'ראשון, פברואר 14 2010, 3:25:50 אחה"צ'],
+            ['ddd, h A',                           'א׳, 3 אחרי הצהריים'],
             ['M Mo MM MMMM MMM',                   '2 2 02 פברואר פבר׳'],
             ['YYYY YY',                            '2010 10'],
             ['D Do DD',                            '14 14 14'],
@@ -34,7 +34,7 @@ test('format', function (assert) {
             ['H HH',                               '15 15'],
             ['m mm',                               '25 25'],
             ['s ss',                               '50 50'],
-            ['a A',                                'pm PM'],
+            ['a A',                                'אחה"צ אחרי הצהריים'],
             ['[the] DDDo [day of the year]',       'the 45 day of the year'],
             ['LTS',                                '15:25:50'],
             ['L',                                  '14/02/2010'],