mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-22 23:09:28 +01:00
Merge pull request 'Show the edit date' (#106) from StevenNMeza/teddit:edited_dates into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/106
This commit is contained in:
commit
3ff7f5c892
@ -35,7 +35,7 @@ module.exports = function() {
|
||||
ups = `${kFormatter(comments.ups)} points`
|
||||
}
|
||||
if(comments.edited) {
|
||||
edited_span = `<span title="this comment is edited">*</span>`
|
||||
edited_span = `<span title="last edited ${toUTCString(comments.edited)}">*</span>`
|
||||
}
|
||||
if(comments.controversiality > 0) {
|
||||
controversial_span = `<span class="controversial" title="this comment is voted as controversial">†</span>`
|
||||
@ -131,7 +131,7 @@ module.exports = function() {
|
||||
ups = `${kFormatter(comment.ups)} points`
|
||||
}
|
||||
if(comment.edited) {
|
||||
edited_span = `<span title="this comment is edited">*</span>`
|
||||
edited_span = `<span title="last edited ${toUTCString(comments.edited)}">*</span>`
|
||||
}
|
||||
if(comment.controversiality > 0) {
|
||||
controversial_span = `<span class="controversial" title="this comment is voted as controversial">†</span>`
|
||||
|
Loading…
Reference in New Issue
Block a user