From 98432691ab54e57ed3b8dacd0922800ca119244f Mon Sep 17 00:00:00 2001 From: omidmottaghi Date: Mon, 4 Jul 2005 13:54:56 +0000 Subject: [PATCH] Jalali Date debugged --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5