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',
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');