GB_Locale::get_month
Retrieve the full translated month by month number.
The $month_number parameter has to be a string because it must have the '0' in front of any number that is less than 10. Starts from '01' and ends at '12'. You can use an integer instead and it will add the '0' before the numbers less than 10 for you.
Signature
public function get_month(string|int
$month_number )
Parameters
$month_number
— object
'01' through '12'
Returns
- string
- Translated full month name
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
286 | 5 | error | Method name "GB_Locale::get_month" is not in camel caps format |
286 | 5 | error | Visibility must be declared on method "get_month" |