see `future-other` section of https://www.unicode.org/cldr/charts/33/by_type/date_&_time.fields.html
}
},
relativeTime: {
- future: '%så\86\85',
+ future: '%så\90\8e',
past: '%s前',
s: '几秒',
ss: '%d 秒',
}
},
relativeTime: {
- future: '%så\85§',
+ future: '%så¾\8c',
past: '%s前',
s: '幾秒',
ss: '%d 秒',
}
},
relativeTime: {
- future: '%så\85§',
+ future: '%så¾\8c',
past: '%s前',
s: '幾秒',
ss: '%d 秒',
});
test('suffix', function (assert) {
- assert.equal(moment(30000).from(0), 'å\87 ç§\92å\86\85', 'prefix');
+ assert.equal(moment(30000).from(0), 'å\87 ç§\92å\90\8e', 'prefix');
assert.equal(moment(0).from(30000), '几秒前', 'suffix');
});
test('fromNow', function (assert) {
assert.equal(
moment().add({ s: 30 }).fromNow(),
- 'å\87 ç§\92å\86\85',
+ 'å\87 ç§\92å\90\8e',
'in a few seconds'
);
- assert.equal(moment().add({ d: 5 }).fromNow(), '5 天å\86\85', 'in 5 days');
+ assert.equal(moment().add({ d: 5 }).fromNow(), '5 天å\90\8e', 'in 5 days');
});
test('calendar day', function (assert) {
});
test('suffix', function (assert) {
- assert.equal(moment(30000).from(0), 'å¹¾ç§\92å\85§', 'prefix');
+ assert.equal(moment(30000).from(0), 'å¹¾ç§\92å¾\8c', 'prefix');
assert.equal(moment(0).from(30000), '幾秒前', 'suffix');
});
test('fromNow', function (assert) {
assert.equal(
moment().add({ s: 30 }).fromNow(),
- 'å¹¾ç§\92å\85§',
+ 'å¹¾ç§\92å¾\8c',
'in a few seconds'
);
- assert.equal(moment().add({ d: 5 }).fromNow(), '5 天å\85§', 'in 5 days');
+ assert.equal(moment().add({ d: 5 }).fromNow(), '5 天å¾\8c', 'in 5 days');
});
test('calendar day', function (assert) {
});
test('suffix', function (assert) {
- assert.equal(moment(30000).from(0), 'å¹¾ç§\92å\85§', 'prefix');
+ assert.equal(moment(30000).from(0), 'å¹¾ç§\92å¾\8c', 'prefix');
assert.equal(moment(0).from(30000), '幾秒前', 'suffix');
});
test('fromNow', function (assert) {
assert.equal(
moment().add({ s: 30 }).fromNow(),
- 'å¹¾ç§\92å\85§',
+ 'å¹¾ç§\92å¾\8c',
'in a few seconds'
);
- assert.equal(moment().add({ d: 5 }).fromNow(), '5 天å\85§', 'in 5 days');
+ assert.equal(moment().add({ d: 5 }).fromNow(), '5 天å¾\8c', 'in 5 days');
});
test('calendar day', function (assert) {