]> git.ipfire.org Git - thirdparty/moment.git/commit
[locale] gom-latn: Improve processRelativeTime (#5069)
authorWikiDiscoverer <wiki.discoverer@gmail.com>
Fri, 24 Apr 2020 10:40:41 +0000 (16:10 +0530)
committerGitHub <noreply@github.com>
Fri, 24 Apr 2020 10:40:41 +0000 (13:40 +0300)
commitd9d588f5360a5b2bdef19f0a5d61bf931a804830
tree205fa21f8577b87383adcf5e910b1bf81c0fbe36
parentc7e0b3637c10f0869aeb4239d99abaa05f4dacd6
[locale] gom-latn: Improve processRelativeTime (#5069)

* Correct processRelativeTime

The function processRelativeTime should check whether the time is in the future, and not whether there is a suffix

* Correct processRelativeTime

Updated tests based on the change in the function processRelativeTime
src/locale/gom-latn.js
src/test/locale/gom-latn.js