miladr/jalali

Class 'Miladr\Jalali\jDateTime' not found

Closed this issue · 2 comments

Hi!
whenever I tried to make use of "format" function, it throws error at: vendor/miladr/jalali/src/Miladr/Jalali/jDate.php at return code in :
...
// if valid unix timestamp...
if ($this->time !== false){
return jDateTime::strftime($str, $this->time);
}
else{
....
and it says: Class 'Miladr\Jalali\jDateTime' not found
example:
$date = jDate::forge('last sunday')->format('%B %d، %Y');
thank you

Solved. Check if it works please.

Yes!
Works like man!
thank you.