Rozdiely pre Metafox/lib/Date/Calc.php medzi verziami 1.3 a 1.4
| verzia 1.3, 2005/11/25 09:49:50 |
verzia 1.4, 2024/11/20 15:48:04 |
| Riadok 624 class Date_Calc |
|
| Riadok 624 class Date_Calc |
|
| { |
{ |
| $month = strtolower($month); |
$month = strtolower($month); |
| $months = Date_Calc::getMonthNames(); |
$months = Date_Calc::getMonthNames(); |
| while(list($id, $name) = each($months)) { |
foreach ($months as $id => $name) { |
| if (ereg($month, strtolower($name))) { |
if (preg_match("/$month/i", strtolower($name))) { |
| return $id; |
return $id; |
| } |
} |
| } |
} |
| return 0; |
return 0; |
| } |
} |
| |
|
Platon Group <platon@platon.sk> http://platon.sk/
|
|