efiku / locamon
Simple class allow you to localize month names and other
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >= 5.5
- ext-intl: ^1.1
Requires (Dev)
- behat/behat: ^3.0@dev
- coduo/phpspec-data-provider-extension: ^1.0@dev
- phpspec/phpspec: ^2.2@dev
This package is not auto-updated.
Last update: 2024-12-21 19:21:00 UTC
README
LocaMon is class which allow you to simple convert time into localized names. For example month numbers into names.
$locaMon = new LocaMon(); $monthNumber = 3; $timestamp = mktime(0,0,0,$monthNumber); $locaMon ->setLocale('pl_PL') ->setFormat('LLLL') ->setData($timestamp); echo $locaMon->getResult(); // marzec
About format: datetime