From: Kartik Mistry Date: Wed, 17 Jun 2020 08:02:47 +0000 (+0530) Subject: [locale] gu: Improve past relativeTime (#4697) X-Git-Tag: 2.27.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1a969c8adadcb28ddec2fe382b4103fa5cf7abe;p=thirdparty%2Fmoment.git [locale] gu: Improve past relativeTime (#4697) --- diff --git a/src/locale/gu.js b/src/locale/gu.js index 45be94e39..c88b0af7f 100644 --- a/src/locale/gu.js +++ b/src/locale/gu.js @@ -60,7 +60,7 @@ export default moment.defineLocale('gu', { }, relativeTime: { future: '%s મા', - past: '%s પેહલા', + past: '%s પહેલા', s: 'અમુક પળો', ss: '%d સેકંડ', m: 'એક મિનિટ', diff --git a/src/test/locale/gu.js b/src/test/locale/gu.js index 79e49d276..943374f7b 100644 --- a/src/test/locale/gu.js +++ b/src/test/locale/gu.js @@ -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' ); });