fixed missing october in month syntax

you thought only Google makes these kind of mistakes?
This commit is contained in:
Andreas Gohr
2012-12-04 16:24:23 +01:00
parent 9a20d4490d
commit 13fe64e124

View File

@ -102,7 +102,7 @@ class syntax_plugin_statdisplay extends DokuWiki_Syntax_Plugin {
* @return string
*/
private function cleanDate($date){
$months = array('','jan','feb','mar','apr','may','jun','jul','aug','sep','nov','dec');
$months = array('','jan','feb','mar','apr','may','jun','jul','aug','sep','oct','nov','dec');
list($month, $year) = explode('_', strtolower($date));
$year = (int) $year;
if($year < 2000 || $year > 2050) return '';