From fcdeb5ef528a82018785895cd0227b0869a4fd13 Mon Sep 17 00:00:00 2001 From: quix0r Date: Thu, 17 Jan 2013 01:39:24 +0000 Subject: [PATCH] Use numeric months with zero instead of 'translated' --- inc/template-functions.php | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/inc/template-functions.php b/inc/template-functions.php index 3bd31a9dc4..8c749ab3a0 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -829,6 +829,14 @@ function addSelectionBox ($type, $default, $prefix = '', $id = NULL, $class = 'f } // END - for break; + case 'mn': // Months, numeric + for ($idx = 0; $idx <= 12; $idx++) { + $OUT .= ''; } // END - for break; case 'ho': // Hours - for ($idx = 0; $idx < 24; $idx++) { + for ($idx = 0; $idx <= 23; $idx++) { if (strlen($idx) == 1) $idx = 0 . $idx; $OUT .= '