efiku / locamon
Simple class allow you to localize month names and other
dev-master
2016-04-07 17:59 UTC
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: 2026-03-15 01:17:16 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