diff --git a/docs/en/index.html b/docs/en/index.html index d1cef0f..4c922bb 100644 --- a/docs/en/index.html +++ b/docs/en/index.html @@ -221,6 +221,7 @@ $v = $v->setTimeString('12:25:48'); $v = verta(); return $v->format('Y-n-j H:i'); // 1395-10-7 14:12 return $v->format('%B %d، %Y'); // دی 07، 1395 +return $v->format('%Q %Y'); // زمستان 1395 return $v; //1395-10-07 14:12:32

Read the PHP manual to create the format you want

@@ -390,7 +391,6 @@ return $v1->isNextYear(); // false return $v1->isLastYear(); // false return $v1->isFuture(); // false return $v1->isPast(); // false -return $v1->isPast(); // false return $v1->isCurrentYear(); // true return $v1->isSameAs('y', $v2); // true isSameYear() diff --git a/docs/index.html b/docs/index.html index 582e072..0df290e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -226,6 +226,7 @@ $v = $v->setTimeString('12:25:48'); $v = verta(); return $v->format('Y-n-j H:i'); // 1395-10-7 14:12 return $v->format('%B %d، %Y'); // دی 07، 1395 +return $v->format('%Q %Y'); // زمستان 1395 return $v; //1395-10-07 14:12:32

برای ساخت فرمت نمایش مورد نظر خود راهنمای پی اچ پی را مطالعه کنید

@@ -395,7 +396,6 @@ return $v1->isNextYear(); // false return $v1->isLastYear(); // false return $v1->isFuture(); // false return $v1->isPast(); // false -return $v1->isPast(); // false return $v1->isCurrentYear(); // true return $v1->isSameAs('y', $v2); // true isSameYear()