Fix: libraries/common.lib.php3: fixed localised_date() function
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2001-10-03 Geert Lund <glund@silversoft.dk>
|
||||||
|
* libraries/common.lib.php3: fixed localised_date() function:
|
||||||
|
- get correct month name (and not month+1)
|
||||||
|
|
||||||
2001-10-02 Marc Delisle <lem9@users.sourceforge.net>
|
2001-10-02 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/bulgarian-win1251.inc.php3 updates, thanks to Peter Petrov
|
* lang/bulgarian-win1251.inc.php3 updates, thanks to Peter Petrov
|
||||||
|
|
||||||
|
@@ -1009,7 +1009,7 @@ window.parent.frames['nav'].location.replace('<?php echo $reload_url; ?>');
|
|||||||
}
|
}
|
||||||
|
|
||||||
$date = ereg_replace('%[aA]', $day_of_week[(int)strftime('%w',$timestamp)], $datefmt);
|
$date = ereg_replace('%[aA]', $day_of_week[(int)strftime('%w',$timestamp)], $datefmt);
|
||||||
$date = ereg_replace('%[bB]', $month[(int)strftime('%m',$timestamp)], $date);
|
$date = ereg_replace('%[bB]', $month[(int)strftime('%m',$timestamp)-1], $date);
|
||||||
|
|
||||||
return strftime($date, $timestamp);
|
return strftime($date, $timestamp);
|
||||||
} // end of the 'localised_date()' function
|
} // end of the 'localised_date()' function
|
||||||
|
Reference in New Issue
Block a user