mirror of https://github.com/espruino/BangleApps
linuxclock - Bugfix Add 1 to month received from Date.getMonth (0..11)
parent
1f2179535a
commit
2063cca87f
|
@ -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)
|
|
@ -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(){
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue