Changeset 1214
- Timestamp:
- 11/02/06 05:55:27 (2 years ago)
- Files:
-
- 1 modified
-
trunk/src/date/AgaviTimeZone.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/date/AgaviTimeZone.class.php
r1213 r1214 442 442 $minutes = 0; 443 443 $negative = false; 444 if(preg_match('#GMT([+-]?)(\d{ 2}):?(\d{2})#', $id, $match)) {444 if(preg_match('#GMT([+-]?)(\d{1,2}):?(\d{1,2})#', $id, $match)) { 445 445 $negative = $match[1] == '-'; 446 446 $hours = $match[2]; 447 447 $minutes = $match[3]; 448 } elseif(preg_match('#GMT([+-]?)(\d{ 2})#', $id, $match)) {448 } elseif(preg_match('#GMT([+-]?)(\d{1,2})#', $id, $match)) { 449 449 $negative = $match[1] == '-'; 450 450 $hours = $match[2];

