From: omidmottaghi Date: Mon, 4 Jul 2005 13:54:56 +0000 (+0000) Subject: Jalali Date debugged X-Git-Tag: 0.9~343 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=98432691ab54e57ed3b8dacd0922800ca119244f;p=s9y.git Jalali Date debugged --- diff --git a/index.php b/index.php index a85199b..8225170 100644 --- a/index.php +++ b/index.php @@ -124,7 +124,7 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range case 'jalali-utf8': require_once S9Y_INCLUDE_PATH . 'include/functions_calendars.inc.php'; - $j_days_in_month = array(31, 31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 29); + $j_days_in_month = array(0, 31, 31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 29); $gday = 1; if ($week) {