Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /home/hemmi3/public_html/blog/inc/sessions/model/_hit.class.php on line 901
<?php print 'hello World!'; ?>
At the moment I'm coding a Persian (Iranian) calendar as requested by Ebrahim. Actually the coding is extremely difficult but great fun. It's difficult because of the abstract thinking. I can't read a single word anr Right To Left writing requires a different thinking pattern. We're used to the += to glue a new text after the other, but now I have to start at the end and glue text before that. Not difficult to code but difficult to get it right.
This is more than just translation. The Jalali calendar system is completely different from our Gregorian. The year starts at the start of spring so month don't correspond with our month. That required some recoding of the Calendar widget.
I started of with some 20 odd functions that convert, convert back, translate and such. With those functions I attacked the existing Calendar widget.
Anyway the widget works on a normal blogpage ($mode == 'month') but not on an archived page. The blue date links to a date where I wrote a post and that seems to work. 'Today' in the reddish square works also.
One error to go: when clicking the header ???? ???? (?b?n - 8th month - 1387) leads to the Gregorian time based page of 1387 which you can imagine, doesn't exist.
This month in my Jalali calendar widget:
I found a cool Gnome widget. This calendar seems more Arabic based:
It serves as a check for every alteration I made. I wish I had more space in the sidebar
More information on the Jalali calendar system (???????? ?????) on Wikipedia: Iranian calendar. I used a script by Rahman Haqparast found on phpclasses.org.