mirror of https://github.com/espruino/BangleApps
feat: remove duplicate day in calendar
Remove duplicated day in calendar when format setting is 'dd MMM'pull/3432/head
parent
d1fc9abf27
commit
0574647e60
|
@ -2,3 +2,4 @@
|
|||
0.02: added settings options to change date format
|
||||
0.03: Remove un-needed font requirement, now outputs transparent image
|
||||
0.04: Fix image after 0.03 regression
|
||||
0.05: Remove duplicated day in calendar when format setting is 'dd MMM'
|
|
@ -5,7 +5,7 @@
|
|||
var getDateString = function(dt) {
|
||||
switch(settings.fmt) {
|
||||
case "dd MMM":
|
||||
return '' + dt.getDate() + ' ' + require("locale").month(dt,1).toUpperCase();
|
||||
return require("locale").month(dt,1).toUpperCase();
|
||||
case "DDD dd":
|
||||
return require("locale").dow(dt,1).toUpperCase() + ' ' + dt.getDate();
|
||||
default: // DDD
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ "id": "clkinfocal",
|
||||
"name": "Calendar Clockinfo",
|
||||
"version":"0.04",
|
||||
"version":"0.05",
|
||||
"description": "For clocks that display 'clockinfo' (messages that can be cycled through using the clock_info module) this displays the day of the month in the icon, and the weekday. There is also a settings menu to select the format of the text",
|
||||
"icon": "app.png",
|
||||
"screenshots": [{"url":"screenshot.png"}],
|
||||
|
|
Loading…
Reference in New Issue