mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Prefix relative dates with "in" where appropriate
This commit is contained in:
@@ -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))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user