This Package helps developers to easily work with Jalali (Shamsi or Iranian) dates in php appliations, based on Jalali (Shamsi) DateTime class.
856
stars
111
forks
source link
مشکل در کم کردن ماه از تاریخ subMonths #78
Closed
DigiGostar closed 3 years ago
خروجی:
-- [0] => Morilog\Jalali\Jalalian Object | ( | [year:Morilog\Jalali\Jalalian:private] => 1398 | [month:Morilog\Jalali\Jalalian:private] => 2 | [day:Morilog\Jalali\Jalalian:private] => 1 | ) | | [1] => Morilog\Jalali\Jalalian Object | ( | [year:Morilog\Jalali\Jalalian:private] => 1398 | [month:Morilog\Jalali\Jalalian:private] => 1 | [day:Morilog\Jalali\Jalalian:private] => 1 | ) | | [2] => Morilog\Jalali\Jalalian Object | ( | [year:Morilog\Jalali\Jalalian:private] => 1398 | [month:Morilog\Jalali\Jalalian:private] => 2 | [day:Morilog\Jalali\Jalalian:private] => 1 | ) | | [3] => Morilog\Jalali\Jalalian Object | ( | [year:Morilog\Jalali\Jalalian:private] => 1398 | [month:Morilog\Jalali\Jalalian:private] => 3 | [day:Morilog\Jalali\Jalalian:private] => 1 | ) | | [4] => Morilog\Jalali\Jalalian Object | ( | [year:Morilog\Jalali\Jalalian:private] => 1398 | [month:Morilog\Jalali\Jalalian:private] => 4 | [day:Morilog\Jalali\Jalalian:private] => 1 | )
در مرحله اول یک ماه کم کرد ولی در مراحل بعدی فور اصلا درست کار نمیکنه و تازه ماه اضافه میکنه !