Skip to content

Commit

Permalink
Make change in correct files
Browse files Browse the repository at this point in the history
  • Loading branch information
marwahaha committed Jun 17, 2020
1 parent 94aeebe commit c2f3c44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/locale/gu.js
Expand Up @@ -60,7 +60,7 @@ export default moment.defineLocale('gu', {
},
relativeTime: {
future: '%s મા',
past: '%s પેહલા',
past: '%s પહેલા',
s: 'અમુક પળો',
ss: '%d સેકંડ',
m: 'એક મિનિટ',
Expand Down
4 changes: 2 additions & 2 deletions src/test/locale/gu.js
Expand Up @@ -292,13 +292,13 @@ test('from', function (assert) {

test('suffix', function (assert) {
assert.equal(moment(30000).from(0), 'અમુક પળો મા', 'prefix');
assert.equal(moment(0).from(30000), 'અમુક પળો પેહલા', 'suffix');
assert.equal(moment(0).from(30000), 'અમુક પળો પહેલા', 'suffix');
});

test('now from now', function (assert) {
assert.equal(
moment().fromNow(),
'અમુક પળો પેહલા',
'અમુક પળો પહેલા',
'now from now should display as in the past'
);
});
Expand Down

0 comments on commit c2f3c44

Please sign in to comment.