Skip to content

Commit

Permalink
Update absolute date to display in tooltip.
Browse files Browse the repository at this point in the history
  • Loading branch information
Syfaro committed Feb 7, 2024
1 parent 51637d6 commit 9e3700a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function updateRelativeTimes() {
const date = new Date(timestamp * 1000);

if (!elem.dataset.replacedText) {
elem.title = dtf.format(date);
elem.dataset.tooltip = dtf.format(date);
elem.dataset.replacedText = true;
}

Expand Down

0 comments on commit 9e3700a

Please sign in to comment.