- View the diff current.
- View the source.
- Go to Moodle/Hacking/2.x.
1: 2012-04-14 (Sat) 09:01:07 iseki | 2: 2012-04-15 (Sun) 17:47:17 iseki | ||
---|---|---|---|
Line 16: | Line 16: | ||
} | } | ||
} | } | ||
+ | - 置き換え関数の html_writer::select_time() もバグっとる :-( おいおい である. | ||
+ | case 'hours': | ||
+ | for ($i=0; $i<=23; $i++) { | ||
+ | $strno = sprintf("%02d",$i); | ||
+ | $timeunits[$strno] = $strno; | ||
+ | //$timeunits[$i] = sprintf("%02d",$i); | ||
+ | } | ||
+ | break; | ||
+ | case 'minutes': | ||
+ | if ($step != 1) { | ||
+ | $currentdate['minutes'] = ceil($currentdate['minutes']/$step)*$step; | ||
+ | } | ||
+ | |||
+ | for ($i=0; $i<=59; $i+=$step) { | ||
+ | $strno = sprintf("%02d",$i); | ||
+ | $timeunits[$strno] = $strno; | ||
+ | //$timeunits[$i] = sprintf("%02d",$i); | ||
+ | } |
- Backup list of Moodle/Hacking/2.x
- Backup diff of Moodle/Hacking/2.x(No. All)
- 1: 2012-04-14 (Sat) 09:01:07 iseki
- 2: 2012-04-15 (Sun) 17:47:17 iseki
- 3: 2012-04-20 (Fri) 14:21:42 iseki
- Cur: 2014-11-21 (Fri) 12:08:46 iseki