updated month abbreviation

master
eleanor 2022-09-07 14:32:15 -05:00 committed by GitHub
parent 18d58777bc
commit 6547e2dcc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ function time() {
var day = d.getDate(); var day = d.getDate();
var time = require("locale").time(d,1); var time = require("locale").time(d,1);
var date = require("locale").date(d); var date = require("locale").date(d);
var mo = require("date_utils").month(d.getMonth()+1,0); var mo = require("date_utils").month(d.getMonth()+1,1);
require("Font4x5").add(Graphics); // time require("Font4x5").add(Graphics); // time
isDark(); isDark();
@ -50,7 +50,7 @@ function time() {
g.setFont("4x5",7.5).drawString(time, width/2, height/2); g.setFont("4x5",7.5).drawString(time, width/2, height/2);
g.setFontAlign(1,1); g.setFontAlign(1,1);
g.setFont("4x5",2).drawString(mo+" "+day, width-15, height-35); g.setFont("4x5",3).drawString(mo+" "+day, width-15, height-35);
} }
function draw() { //poketch background function draw() { //poketch background