mirror of
https://github.com/cosmocode/dokuwiki-plugin-statdisplay.git
synced 2025-08-15 22:20:20 +00:00
fixed missing october in month syntax
you thought only Google makes these kind of mistakes?
This commit is contained in:
@ -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 '';
|
||||
|
Reference in New Issue
Block a user