]> git.mjollnir.org Git - s9y.git/commitdiff
Jalali Date debugged
authoromidmottaghi <omidmottaghi>
Mon, 4 Jul 2005 13:54:56 +0000 (13:54 +0000)
committeromidmottaghi <omidmottaghi>
Mon, 4 Jul 2005 13:54:56 +0000 (13:54 +0000)
index.php

index a85199bdc45f204d26b6a8e3fc2a5a5ce68121b8..82251701d67cb4a21869427b0fd270e31524a1aa 100644 (file)
--- 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) {