mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 12:32:31 +01:00
Prefix relative dates with "in" where appropriate
This commit is contained in:
parent
df4604057e
commit
b73413f189
@ -32,7 +32,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (date.isAfter(moment())) {
|
if (date.isAfter(moment())) {
|
||||||
return date.fromNow(true);
|
return 'in ' + date.fromNow(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (date.isBefore(moment().add('years', -1))) {
|
if (date.isBefore(moment().add('years', -1))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user