Skip to content

Commit 0b3079a

Browse files
committed
Update mcjs.js
1 parent e6ad383 commit 0b3079a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/mcjs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293

294294
function mc_display_usertime() {
295295
const usertime = document.querySelectorAll( '.mc-user-time' );
296-
let label = Intl.DateTimeFormat().resolvedOptions().timeZone, udate, utime;
296+
let label = new Intl.DateTimeFormat().resolvedOptions().timeZone, udate, utime;
297297
usertime.forEach( (el) => {
298298
let time = el.innerText;
299299
let type = el.getAttribute( 'data-type' );

0 commit comments

Comments
 (0)