Function vanilla_theme_replace_months
Converts numeric representations (1..12, 01..12) or full textual representations of months in greek genitive case ("Ιανουαρίου", "Φεβρουαρίου", etc.), to the nominative case equivalent. All full textual representations are expected in (and replaced with values in) lower case, properly accented in greek, with the first letter capitalized.
License:
GPLv3
Author: Nevma, http://www.nevma.gr, info@nevma.gr
Todo: Respect and work for any input case (upper/lower), accented or not.
Located at base/vanilla-theme.php
Author: Nevma, http://www.nevma.gr, info@nevma.gr
Todo: Respect and work for any input case (upper/lower), accented or not.
Located at base/vanilla-theme.php
Parameters summary
integer|string |
$input |
<p>The input to convert, in one of the following forms: numeric representation of a month (as an int or string) or string containing one or more occurences of the genitive forms of one or more months.</p> |
Return value summary
string
|
The full textual representation of the given month in nominative case. |