OSDN Git Service
(root)
/
yukkurioverwint
/
YukkuriOverwinter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7477a81
)
日付を1日変更
author
nagoling
<>
Fri, 1 Nov 2013 00:01:18 +0000
(09:01 +0900)
committer
nagomi
<nagomi@192.168.1.23>
Fri, 1 Nov 2013 00:01:18 +0000
(09:01 +0900)
ctrl.js
patch
|
blob
|
history
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;