kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Merge branch 'timestamp-muted' into 'develop'
RelativeTimestamp: make text muted See merge request soapbox-pub/soapbox-fe!1563environments/review-develop-3zknud/deployments/351
commit
cb53abd2bb
|
@ -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>
|
||||
);
|
||||
|
|
Ładowanie…
Reference in New Issue