jalali
jalali copied to clipboard
Fix issue (#122)
Fix problem related to leading zero
I ran all the available tests
Now both of these are same:
Jalalian::fromFormat('Y-m-d H:i:s', "1395-02-09 04:03:00")->toCarbon(); // ✔
Jalalian::fromFormat('Y-m-d H:i:s', "1395-2-9 4:3:0")->toCarbon(); // ✔