]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Fix language locale for Khmer
authorSereysethy Touch <touch.sereysethy@cidc.com.kh>
Tue, 11 Aug 2015 02:48:38 +0000 (09:48 +0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Mon, 9 Nov 2015 04:37:54 +0000 (20:37 -0800)
src/locale/km.js
src/test/locale/km.js

index 389d1f61e67db7921059dbb676c59ecd732190c6..0d85f3f1ae79107dbd5a608d2f24e397f1bb2b7e 100644 (file)
@@ -19,7 +19,7 @@ export default moment.defineLocale('km', {
         LLLL: 'dddd, D MMMM YYYY HH:mm'
     },
     calendar: {
-        sameDay: '[á\9e\90á\9f\92á\9e\84á\9f\83á\9e\93á\9f\88 ម៉ោង] LT',
+        sameDay: '[á\9e\90á\9f\92á\9e\84á\9f\83á\9e\93á\9f\81á\9f\87 ម៉ោង] LT',
         nextDay: '[ស្អែក ម៉ោង] LT',
         nextWeek: 'dddd [ម៉ោង] LT',
         lastDay: '[ម្សិលមិញ ម៉ោង] LT',
index 84d2c0bd61017f5914f24cbfb04dd64c16e8efa7..0d662b689b0b07c8cc003526d66d8ecf21bff0e6 100644 (file)
@@ -161,19 +161,19 @@ test('fromNow', function (assert) {
 test('calendar day', function (assert) {
     var a = moment().hours(2).minutes(0).seconds(0);
 
-    assert.equal(moment(a).calendar(), 'á\9e\90á\9f\92á\9e\84á\9f\83á\9e\93á\9f\88 ម៉ោង 02:00', 'today at the same time');
+    assert.equal(moment(a).calendar(), 'á\9e\90á\9f\92á\9e\84á\9f\83á\9e\93á\9f\81á\9f\87 ម៉ោង 02:00', 'today at the same time');
     assert.equal(moment(a).add({
         m: 25
-    }).calendar(), 'á\9e\90á\9f\92á\9e\84á\9f\83á\9e\93á\9f\88 ម៉ោង 02:25', 'Now plus 25 min');
+    }).calendar(), 'á\9e\90á\9f\92á\9e\84á\9f\83á\9e\93á\9f\81á\9f\87 ម៉ោង 02:25', 'Now plus 25 min');
     assert.equal(moment(a).add({
         h: 1
-    }).calendar(), 'á\9e\90á\9f\92á\9e\84á\9f\83á\9e\93á\9f\88 ម៉ោង 03:00', 'Now plus 1 hour');
+    }).calendar(), 'á\9e\90á\9f\92á\9e\84á\9f\83á\9e\93á\9f\81á\9f\87 ម៉ោង 03:00', 'Now plus 1 hour');
     assert.equal(moment(a).add({
         d: 1
     }).calendar(), 'ស្អែក ម៉ោង 02:00', 'tomorrow at the same time');
     assert.equal(moment(a).subtract({
         h: 1
-    }).calendar(), 'á\9e\90á\9f\92á\9e\84á\9f\83á\9e\93á\9f\88 ម៉ោង 01:00', 'Now minus 1 hour');
+    }).calendar(), 'á\9e\90á\9f\92á\9e\84á\9f\83á\9e\93á\9f\81á\9f\87 ម៉ោង 01:00', 'Now minus 1 hour');
     assert.equal(moment(a).subtract({
         d: 1
     }).calendar(), 'ម្សិលមិញ ម៉ោង 02:00', 'yesterday at the same time');