Merge branch 'timestamp-muted' into 'develop'

RelativeTimestamp: make text muted

See merge request soapbox-pub/soapbox-fe!1563
This commit is contained in:
Alex Gleason
2022-06-22 23:03:23 +00:00

View File

@ -179,7 +179,7 @@ class RelativeTimestamp extends React.Component {
const relativeTime = futureDate ? timeRemainingString(intl, date, this.state.now) : timeAgoString(intl, date, this.state.now, year);
return (
<Text {...textProps} theme='inherit' tag='time' title={intl.formatDate(date, dateFormatOptions)}>
<Text {...textProps} theme='muted' tag='time' title={intl.formatDate(date, dateFormatOptions)}>
{relativeTime}
</Text>
);