Prefix relative dates with "in" where appropriate

pull/246/head
Mark McDowall 10 years ago
parent df4604057e
commit b73413f189

@ -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))) {

Loading…
Cancel
Save