mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-27 02:54:44 +00:00
Prefix relative dates with "in" where appropriate
This commit is contained in:
@@ -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))) {
|
||||
|
||||
Reference in New Issue
Block a user