2017 © Pedro Peláez
 

library tika

Carbon extension to localize month and day

image

egig/tika

Carbon extension to localize month and day

  • Wednesday, December 31, 2014
  • by egig
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Tika

Build Status, (*1)

Tika is short of "Ketika" means "When". Tika is small library extends well-known datetime library Carbon\Carbon allows you to use localize months and days name directly for your application., (*2)

Example:, (*3)

<?php
    $date = new Tika('first day of October 2014', 'Asia/Jakarta');
    $date->setLocale('id');
    echo $date->format('l');
?>

You will get output: 'Rabu' means 'Wednesday' which is First Day of October 2014 on Asia/Jakarta TimeZone;, (*4)

The Versions

31/12 2014

dev-master

9999999-dev

Carbon extension to localize month and day

  Sources   Download

The Requires