Skip to content

Commit

Permalink
Apply fixes from StyleCI (#17)
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
milantarami authored Oct 7, 2023
2 parents a56eb3e + 0ecc133 commit b3074bf
Show file tree
Hide file tree
Showing 13 changed files with 592 additions and 539 deletions.
17 changes: 8 additions & 9 deletions config/nepali-calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
return [

/**
* DEFAULT date format
* DEFAULT date format.
*/
'date_format' => 'YYYY-MM-DD',

/**
* DEFAULT return type
* return types
* [ date, string, array ]
* [ date, string, array ].
*/
'return_type' => 'string',

/**
* DEFAULT lang
* DEFAULT lang.
*/
'lang' => 'en',

/**
* Supported date formats
* Supported date formats.
*/
'date_formats' => [
'YYYY-MM-DD',
Expand All @@ -32,7 +32,7 @@
],

/**
* Date Separators
* Date Separators.
*/
'date_separators' => [
'YYYY-MM-DD' => '-',
Expand All @@ -44,28 +44,27 @@
],

/**
* Supported Languages
* Supported Languages.
*/
'langs' => [
'np',
'en'
],

/**
* Supported return types
* Supported return types.
*/
'return_types' => [
'array',
'string'
],

/**
* Calendar Types
* Calendar Types.
*/
'calendar_types' => [
'BS',
'AD'
]


];
4 changes: 2 additions & 2 deletions resources/lang/en/nepali-calendar.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

return [
'invalid_date_bs' => "The selected :attribute is not valid bs date."
];
'invalid_date_bs' => 'The selected :attribute is not valid bs date.'
];
Loading

0 comments on commit b3074bf

Please sign in to comment.