We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dacc1d6 commit 66765f4Copy full SHA for 66765f4
assets/js/script.js
@@ -607,7 +607,7 @@ function initNotes() {
607
if (noteSection) {
608
// Format note timestamp
609
function formatDate(stringDate) {
610
- const now = new Date(stringDate);
+ const date = new Date(stringDate);
611
const now = new Date();
612
const istOffset = 5.5 * 60 * 60 * 1000; // IST = UTC+5:30
613
const localOffset = now.getTimezoneOffset() * 60 * 1000;
0 commit comments