Skip to content

Commit 66765f4

Browse files
committed
Update script.js
1 parent dacc1d6 commit 66765f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ function initNotes() {
607607
if (noteSection) {
608608
// Format note timestamp
609609
function formatDate(stringDate) {
610-
const now = new Date(stringDate);
610+
const date = new Date(stringDate);
611611
const now = new Date();
612612
const istOffset = 5.5 * 60 * 60 * 1000; // IST = UTC+5:30
613613
const localOffset = now.getTimezoneOffset() * 60 * 1000;

0 commit comments

Comments
 (0)