From 2720635a68b7e3d5cedadb28e2101284ff905201 Mon Sep 17 00:00:00 2001 From: Caleb Date: Fri, 29 Nov 2024 20:27:50 -0500 Subject: [PATCH] Make `curHour` is interpreted --- js/notepad.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/notepad.js b/js/notepad.js index de9ad8b..4904aba 100644 --- a/js/notepad.js +++ b/js/notepad.js @@ -299,7 +299,7 @@ } // Construct the formatted string - var dateString = `{$curHour}:${curMin} ${timeOfDay} ${date.toLocaleDateString()}`; + var dateString = `${curHour}:${curMin} ${timeOfDay} ${date.toLocaleDateString()}`; // Update the document with the date string var front = self.editor.value.substring(0, cursorPos),