efiku/locamon

Simple class allow you to localize month names and other

Maintainers

Details

github.com/efiku/locamon

Source

Issues

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

dev-master 2016-04-07 17:59 UTC

This package is not auto-updated.

Last update: 2024-11-09 18:43:30 UTC


README

Build Status

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