Changeset 1463
- Timestamp:
- 12/08/07 00:00:28 (7 months ago)
- Files:
-
- trunk/modules/forge/libraries/Form_Dateselect.php (modified) (1 diff)
- trunk/system/helpers/num.php (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/modules/forge/libraries/Form_Dateselect.php
r1460 r1463 39 39 protected function time_array($timestamp) 40 40 { 41 returnarray_combine(41 $time = array_combine( 42 42 array('month', 'day', 'year', 'hour', 'minute', 'am_pm'), 43 43 explode('--', date('n--j--Y--g--i--A', $timestamp))); 44 45 // Minutes should always be in 5 minute increments 46 $time['minute'] = num::round($time['minute'], 5); 47 48 return $time; 44 49 } 45 50
