From 3d626ca99ce0785066edb19dde4f8d84d1026b9d Mon Sep 17 00:00:00 2001 From: RKBoss6 Date: Tue, 1 Jul 2025 08:56:20 -0400 Subject: [PATCH] Fix clearing of date --- apps/modclock/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/modclock/app.js b/apps/modclock/app.js index 718453939..4c4186a4a 100644 --- a/apps/modclock/app.js +++ b/apps/modclock/app.js @@ -209,7 +209,7 @@ let draw = function() { g.setFont("Vector",16); g.setFontAlign(1,0); // align center bottom // pad the date - this clears the background if the date were to change length - var dateStr = require("locale").dow(new Date(), 1)+", " +new Date().getDate(); + var dateStr = " "+require("locale").dow(new Date(), 1)+", " +new Date().getDate(); //print(g.stringHeight(dateStr)); g.drawString(" "+dateStr+" ", g.getWidth()/2+6, Y+9, true /*clear background*/);