mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: mdash
being displayed when a date was invalid
This commit is contained in:
parent
da4789253c
commit
c275a68daf
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ function relativeAgeMediumSpan(distance, leaveAgo) {
|
|||
formatted = t("x_days", {count: Math.round((distanceInMinutes - 720.0) / 1440.0)});
|
||||
break;
|
||||
}
|
||||
return formatted || '&mdash';
|
||||
return formatted || '—';
|
||||
}
|
||||
|
||||
function relativeAgeMedium(date, options) {
|
||||
|
|
Loading…
Reference in a new issue