1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

Prefix relative dates with "in" where appropriate

This commit is contained in:
Mark McDowall 2015-05-07 16:39:48 -07:00
parent df4604057e
commit b73413f189

View File

@ -32,7 +32,7 @@ module.exports = {
}
if (date.isAfter(moment())) {
return date.fromNow(true);
return 'in ' + date.fromNow(true);
}
if (date.isBefore(moment().add('years', -1))) {