diff --git a/apps/linuxclock/ChangeLog b/apps/linuxclock/ChangeLog index 5529034be..d4ae7213e 100644 --- a/apps/linuxclock/ChangeLog +++ b/apps/linuxclock/ChangeLog @@ -3,3 +3,4 @@ 0.03: Update clock_info to avoid a redraw 0.04: Fix clkinfo -- use .get instead of .show 0.05: Use clock_info module as an app +0.06: Fix month in date (jan 0 -> 1, etc) \ No newline at end of file diff --git a/apps/linuxclock/app.js b/apps/linuxclock/app.js index cea33fe3a..67202dac1 100644 --- a/apps/linuxclock/app.js +++ b/apps/linuxclock/app.js @@ -112,7 +112,7 @@ function getTime(){ function getDate(){ var date = new Date(); - return twoD(date.getDate()) + "." + twoD(date.getMonth()); + return twoD(date.getDate()) + "." + twoD(date.getMonth() + 1); } function getDay(){ diff --git a/apps/linuxclock/metadata.json b/apps/linuxclock/metadata.json index ccd9db5e7..422306977 100644 --- a/apps/linuxclock/metadata.json +++ b/apps/linuxclock/metadata.json @@ -1,7 +1,7 @@ { "id": "linuxclock", "name": "Linux Clock", - "version": "0.05", + "version": "0.06", "description": "A Linux inspired clock.", "readme": "README.md", "icon": "app.png",