Skip to content

TheServat/Intl-carbon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intl-Carbon

PHP Carbon extension with IntlCalendars to support:

  • Japanese
  • Buddhist
  • Chinese
  • Persian
  • Indian
  • Islamic
  • Hebrew
  • Coptic
  • Ethiopic Calendar types in output.
printf("Right now is %s", IntlCarbon::now()->setCalendar('persian')->toDateTimeString());
//Right now is 1394-04-17 23:38:00
printf("%s",IntlCarbon::now()->setCalendar('islamic')->setLang('ar_UA')->toDateTimeString());
//١٤٣٦-٠٩-٢٢ ٢٣:٣٩:٤٢

Todo:

  • complete tests

About

PHP Carbon extension with IntlCalendars

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages