]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
[locale] gu: Improve past relativeTime (#4697)
authorKartik Mistry <kartikm@users.noreply.github.com>
Wed, 17 Jun 2020 08:02:47 +0000 (13:32 +0530)
committerGitHub <noreply@github.com>
Wed, 17 Jun 2020 08:02:47 +0000 (01:02 -0700)
src/locale/gu.js
src/test/locale/gu.js

index 45be94e394d3396702ad40ddba6960765dd8b2d6..c88b0af7fca52a0f7018bf52e7d05a5983641a7c 100644 (file)
@@ -60,7 +60,7 @@ export default moment.defineLocale('gu', {
     },
     relativeTime: {
         future: '%s મા',
-        past: '%s àªªà«\87હલા',
+        past: '%s àªªàª¹à«\87લા',
         s: 'અમુક પળો',
         ss: '%d સેકંડ',
         m: 'એક મિનિટ',
index 79e49d276d2a88545a60fe049fa9582bab95a427..943374f7b078ba99c02aa7427c465ebf2b970d16 100644 (file)
@@ -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), 'àª\85મà«\81àª\95 àªªàª³à«\8b àªªà«\87હલા', 'suffix');
+    assert.equal(moment(0).from(30000), 'àª\85મà«\81àª\95 àªªàª³à«\8b àªªàª¹à«\87લા', 'suffix');
 });
 
 test('now from now', function (assert) {
     assert.equal(
         moment().fromNow(),
-        'àª\85મà«\81àª\95 àªªàª³à«\8b àªªà«\87હલા',
+        'àª\85મà«\81àª\95 àªªàª³à«\8b àªªàª¹à«\87લા',
         'now from now should display as in the past'
     );
 });