B-219 Sec-55 Noida, India
+918010221733

Unknown date format, neither date nor time in ‘yyyy-MM-dd HH:mm:ss’ found

 Issues resolved
go to  file libZendLocaleFormat.php      line number 827

                 $day   = iconv_strpos($format, ‘d’);
        $month = iconv_strpos($format, ‘M’);
        $year  = iconv_strpos($format, ‘y’);
        $hour  = iconv_strpos($format, ‘H’);
        $min   = iconv_strpos($format, ‘m’);
        $sec   = iconv_strpos($format, ‘s’);
Replace the code

        $day   = iconv_strpos($format, ‘d’,0,’UTF-8′);
        $month = iconv_strpos($format, ‘M’,0,’UTF-8′);
        $year  = iconv_strpos($format, ‘y’,0,’UTF-8′);
        $hour  = iconv_strpos($format, ‘H’,0,’UTF-8′);
        $min   = iconv_strpos($format, ‘m’,0,’UTF-8′);
        $sec   = iconv_strpos($format, ‘s’,0,’UTF-8′);

and add the below code to add the following to your index.php:

iconv_set_encoding(“internal_encoding”,”UTF-8″);
iconv_set_encoding(“output_encoding”, “ISO-8859-1”);

Thanks,

(Visited 836 times, 1 visits today)

Leave a reply

You must be logged in to post a comment.