diff options
| author | bobzel <zzzman@gmail.com> | 2023-04-27 22:56:56 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-04-27 22:56:56 -0400 |
| commit | c27fcf300d72248e82d722e1b7ded9e0ca07f657 (patch) | |
| tree | e6c99b49324c60713b59c65c8963b018f59dc1ec /src/client/views/nodes/formattedText/marks_rts.ts | |
| parent | d3dc9938b38e89b2215d13fbc5bc92d33502e818 (diff) | |
| parent | 66e5fe4d8c4c6fae768305e31b45735f563b7500 (diff) | |
merged with master
Diffstat (limited to 'src/client/views/nodes/formattedText/marks_rts.ts')
| -rw-r--r-- | src/client/views/nodes/formattedText/marks_rts.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/marks_rts.ts b/src/client/views/nodes/formattedText/marks_rts.ts index 3898490d3..5b47e8a70 100644 --- a/src/client/views/nodes/formattedText/marks_rts.ts +++ b/src/client/views/nodes/formattedText/marks_rts.ts @@ -349,7 +349,7 @@ export const marks: { [index: string]: MarkSpec } = { group: 'inline', toDOM(node: any) { const uid = node.attrs.userid.replace('.', '').replace('@', ''); - const min = Math.round(node.attrs.modified / 12); + const min = Math.round(node.attrs.modified / 60); const hr = Math.round(min / 60); const day = Math.round(hr / 60 / 24); const remote = node.attrs.userid !== Doc.CurrentUserEmail ? ' UM-remote' : ''; |
