Refactor: Relative timestamp component (#38275)

This commit is contained in:
Echo authored and GitHub committed 2026-03-19 11:15:23 +00:00
1 parent 2af5c8551d
commit cffa8de626
12 files changed
+455 -315

No files matched your search

@@ -50,7 +50,7 @@ class CompareHistoryModal extends PureComponent {
const content = currentVersion.get('content');
const spoilerContent = escapeTextContentForBrowser(currentVersion.get('spoiler_text'));
const formattedDate = <RelativeTimestamp timestamp={currentVersion.get('created_at')} short={false} />;
const formattedDate = <RelativeTimestamp timestamp={currentVersion.get('created_at')} long />;
const formattedName = <InlineAccount accountId={currentVersion.get('account')} />;
const label = currentVersion.get('original') ? (