fix bug undefined
This commit is contained in:
1 parent
dc614c2545
commit
07d074c270
3 files changed
+5
-4
No files matched your search
+2
-2
@@ -58,12 +58,12 @@
|
||||
<h2 id="installation">Installation</h2>
|
||||
<p>Enter the following command to install Verta</p>
|
||||
<pre>$ composer require hekmatinasser/verta</pre>
|
||||
<p>Now you have to add the package to your project by entering the following command</p>
|
||||
<p>You can add the package to your project by entering the following command</p>
|
||||
|
||||
<pre>// config/app.php
|
||||
'providers' => [
|
||||
...
|
||||
Hekmatinasser\Verta\VertaServiceProvider::class,
|
||||
Hekmatinasser\Verta\Laravel\VertaServiceProvider::class,
|
||||
],
|
||||
|
||||
'alias' => [
|
||||
|
||||
+2
-2
@@ -60,12 +60,12 @@
|
||||
<h2 id="installation">نصب</h2>
|
||||
<p>برای نصب دستور زیر را وارد کنید</p>
|
||||
<pre>$ composer require hekmatinasser/verta</pre>
|
||||
<p>حال باید پکیج را درون پروژه خود اضافه کنید برای این کار دستور زیر را وارد کنید</p>
|
||||
<p>می توانید پکیج را درون پروژه خود اضافه کنید برای این کار دستور زیر را وارد کنید</p>
|
||||
|
||||
<pre>// config/app.php
|
||||
'providers' => [
|
||||
...
|
||||
Hekmatinasser\Verta\VertaServiceProvider::class,
|
||||
Hekmatinasser\Verta\Laravel\VertaServiceProvider::class,
|
||||
],
|
||||
|
||||
'alias' => [
|
||||
|
||||
@@ -141,6 +141,7 @@ trait Creator
|
||||
*/
|
||||
public static function parse($datetime , $timezone = null)
|
||||
{
|
||||
self::loadMessages();
|
||||
$names = array_map(function ($value) { return " $value "; }, array_values(self::$messages['year_months']));
|
||||
$values = array_map(function ($value) { return "-$value-"; }, range(1,12));
|
||||
|
||||
|
||||
Reference in new issue
Block a user