update doc
This commit is contained in:
1 parent
2b49c40ada
commit
1d8251ed4f
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -221,6 +221,7 @@ $v = $v->setTimeString('12:25:48');
|
|||||||
$v = verta();
|
$v = verta();
|
||||||
return $v->format('Y-n-j H:i'); // 1395-10-7 14:12
|
return $v->format('Y-n-j H:i'); // 1395-10-7 14:12
|
||||||
return $v->format('%B %d، %Y'); // دی 07، 1395
|
return $v->format('%B %d، %Y'); // دی 07، 1395
|
||||||
|
return $v->format('%Q %Y'); // زمستان 1395
|
||||||
return $v; //1395-10-07 14:12:32
|
return $v; //1395-10-07 14:12:32
|
||||||
</pre>
|
</pre>
|
||||||
<p>Read the PHP manual to create the format you want</p>
|
<p>Read the PHP manual to create the format you want</p>
|
||||||
@@ -390,7 +391,6 @@ return $v1->isNextYear(); // false
|
|||||||
return $v1->isLastYear(); // false
|
return $v1->isLastYear(); // false
|
||||||
return $v1->isFuture(); // false
|
return $v1->isFuture(); // false
|
||||||
return $v1->isPast(); // false
|
return $v1->isPast(); // false
|
||||||
return $v1->isPast(); // false
|
|
||||||
|
|
||||||
return $v1->isCurrentYear(); // true
|
return $v1->isCurrentYear(); // true
|
||||||
return $v1->isSameAs('y', $v2); // true isSameYear()
|
return $v1->isSameAs('y', $v2); // true isSameYear()
|
||||||
|
|||||||
+1
-1
@@ -226,6 +226,7 @@ $v = $v->setTimeString('12:25:48');
|
|||||||
$v = verta();
|
$v = verta();
|
||||||
return $v->format('Y-n-j H:i'); // 1395-10-7 14:12
|
return $v->format('Y-n-j H:i'); // 1395-10-7 14:12
|
||||||
return $v->format('%B %d، %Y'); // دی 07، 1395
|
return $v->format('%B %d، %Y'); // دی 07، 1395
|
||||||
|
return $v->format('%Q %Y'); // زمستان 1395
|
||||||
return $v; //1395-10-07 14:12:32
|
return $v; //1395-10-07 14:12:32
|
||||||
</pre>
|
</pre>
|
||||||
<p>برای ساخت فرمت نمایش مورد نظر خود راهنمای پی اچ پی را مطالعه کنید</p>
|
<p>برای ساخت فرمت نمایش مورد نظر خود راهنمای پی اچ پی را مطالعه کنید</p>
|
||||||
@@ -395,7 +396,6 @@ return $v1->isNextYear(); // false
|
|||||||
return $v1->isLastYear(); // false
|
return $v1->isLastYear(); // false
|
||||||
return $v1->isFuture(); // false
|
return $v1->isFuture(); // false
|
||||||
return $v1->isPast(); // false
|
return $v1->isPast(); // false
|
||||||
return $v1->isPast(); // false
|
|
||||||
|
|
||||||
return $v1->isCurrentYear(); // true
|
return $v1->isCurrentYear(); // true
|
||||||
return $v1->isSameAs('y', $v2); // true isSameYear()
|
return $v1->isSameAs('y', $v2); // true isSameYear()
|
||||||
|
|||||||
Reference in new issue
Block a user