diff --git a/apps/clkinfocal/ChangeLog b/apps/clkinfocal/ChangeLog index e3c19f0ba..ccb73b648 100644 --- a/apps/clkinfocal/ChangeLog +++ b/apps/clkinfocal/ChangeLog @@ -1,4 +1,5 @@ 0.01: New App! 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 \ No newline at end of file +0.04: Fix image after 0.03 regression +0.05: Remove duplicated day in calendar when format setting is 'dd MMM' \ No newline at end of file diff --git a/apps/clkinfocal/clkinfo.js b/apps/clkinfocal/clkinfo.js index 893549399..dc93ddd0e 100644 --- a/apps/clkinfocal/clkinfo.js +++ b/apps/clkinfocal/clkinfo.js @@ -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 diff --git a/apps/clkinfocal/metadata.json b/apps/clkinfocal/metadata.json index 0bdcb5178..71dc811e9 100644 --- a/apps/clkinfocal/metadata.json +++ b/apps/clkinfocal/metadata.json @@ -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"}],