fix: Time/LocaleTime should default to relative humanized timestamps (regression)

This commit is contained in:
Tom Moor
2021-08-12 22:47:14 -07:00
parent 1f5b83aaeb
commit 31f4424018

View File

@ -75,7 +75,8 @@ function LocaleTime({
{ locale }
);
const content = children || relative ? relativeContent : tooltipContent;
const content =
children || relative !== false ? relativeContent : tooltipContent;
return (
<Tooltip tooltip={tooltipContent} delay={tooltipDelay} placement="bottom">