Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

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
Line 624  class Date_Calc
Line 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;
     }      }
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top