Skip to content
/ locamon Public

LocaMon project (learning behat and phpspec)

License

Notifications You must be signed in to change notification settings

efiku/locamon

Repository files navigation

LocaMon project

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

About

LocaMon project (learning behat and phpspec)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published