Remove commented out alt method (slower code)

master
Septolum 2024-08-06 13:34:55 +01:00
parent 93f6dbae74
commit 734e64ec53
1 changed files with 1 additions and 3 deletions

View File

@ -39,11 +39,9 @@ Graphics.prototype.setFontLatoSmall = function(scale) {
// we also define functions using 'let fn = function() {..}' for the same reason. function decls are global
let draw = function() {
//require('DateExt')
var date = new Date();
var timeStr = require("locale").time(date,1);
var dateStr = require("locale").dow(date,1) + ', ' + date.getDate() + ' ' + require("locale").month(date,1);
//var dateStr = date.as("T, D C").str;
var h = g.getHeight();
var w = g.getWidth();