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

@ -38,12 +38,10 @@ Graphics.prototype.setFontLatoSmall = function(scale) {
// must be inside our own scope here so that when we are unloaded everything disappears
// we also define functions using 'let fn = function() {..}' for the same reason. function decls are global
let draw = function() {
//require('DateExt')
let draw = function() {
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();