Skip to content

Commit 240887e

Browse files
janpiohzoo
authored andcommitted
fix: Replace time with relative-time to make "Last Updated" o… (#32)
1 parent 018a5ee commit 240887e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function makeLabel(text, octicon) {
166166
}
167167

168168
function makeUpdateLabel(time) {
169-
return `<time datetime="${time}" is="relative-time"></time>`;
169+
return `<relative-time datetime="${time}"></relative-time>`;
170170
}
171171

172172
function issueOrPrLink(type, repoPath, contributor) {

0 commit comments

Comments
 (0)