News for hackers. Stuff that matters.
Re:JDateTime - Iranian (Shamsi) Date for PHP by amir on Saturday February 23, 2013 @02:31PM (#5271099)
You know you can do this:

    $idf = new IntlDateFormatter('fa_IR@calendar=persian',
        IntlDateFormatter::FULL,
        IntlDateFormatter::FULL,"Asia/Tehran",
        IntlDateFormatter::TRADITIONAL);
right?

PHP has a wrapper for ICU.

Re:JDateTime - Iranian (Shamsi) Date for PHP by sallar on Saturday February 23, 2013 @03:30PM (#5271342)
Sure, but it's PHP 5 >= 5.3.0. jDateTime requires 5.2. IntlDateFormatter did not exist at the time of writing this code.