OSDN Git Service
(root)
/
yukkurioverwint
/
YukkuriOverwinter.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
日付を1日変更
[yukkurioverwint/YukkuriOverwinter.git]
/
ctrl.js
diff --git
a/ctrl.js
b/ctrl.js
index
3eb768c
..
0e76377
100644
(file)
--- a/
ctrl.js
+++ b/
ctrl.js
@@
-20,7
+20,7
@@
var Ctrl = enchant.Class.create({
this.min = Math.floor(sec % 60);
var _min = sec / 60;
this.hour = Math.floor(_min % 24);
- this.day = Math.floor(_min / 24 % 30);
+ this.day = Math.floor(_min / 24 % 30)
- 1
;
},
init : function (game){
this.game = game;