mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-03 02:30:29 +08:00
Show absolute timestamps on edited markers
This commit is contained in:
+2
-2
@@ -86,11 +86,11 @@ export function formatCommit(oid: string): string {
|
||||
}
|
||||
|
||||
export function formatEditedCaption(lastEdit: Comment["edits"][0]) {
|
||||
return ` ${
|
||||
return `${
|
||||
lastEdit.author.alias
|
||||
? lastEdit.author.alias
|
||||
: formatNodeId(lastEdit.author.id)
|
||||
} edited ${formatTimestamp(lastEdit.timestamp / 1000)}`;
|
||||
} edited ${absoluteTimestamp(lastEdit.timestamp)}`;
|
||||
}
|
||||
|
||||
export function baseUrlToUrl(baseUrl: BaseUrl): URL {
|
||||
|
||||
Reference in New Issue
Block a user