Diff for Metafox/lib/Date/Calc.php between version 1.3 and 1.4
| version 1.3, 2005/11/25 09:49:50 |
version 1.4, 2024/11/20 15:48:04 |
|
|
| { |
{ |
| $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.org> http://platon.org/
|
|