miladr / jalali

This Package helps developers to easily work with Jalali (Shamsi or Iranian) dates in Laravel 4 applications, based on Jalali (Shamsi) DateTime class. This Package is based on a Laravel 3 bundle "sallar/laravel-jdate" by Sallar Kaboli.
MIT License
47 stars 123 forks source link

Installation suggestion #1

Closed puraminy closed 9 years ago

puraminy commented 10 years ago

Thank you for providing this necessary package for Persian developers I just had a request the installation process needs composer update which may be time consuming for some machines. could you please beside this installation method, offer another installation based on download, copy and configurations

miladr commented 10 years ago

You are welcome. This package is for Laravel and all other Composer based project. If you just need raw classes you can using jDateTime Project by Sallar Kaboli. https://github.com/sallar/jDateTime

puraminy commented 10 years ago

I actually meant for Laravel, I test Laravel on windows and sometimes the composer update process hangs on downloading anyway, I could update it, just another question or suggestion In my project I want to get a date in Jalali, change it to Georgian and store it in database, then convert it back when I want to display it, I think its one of the most usage of this package and would be great if you have covered it in the ReadMe.md Examples or here

miladr commented 10 years ago

Composer's speed issue is due to our country problem with https!! It's better to use VPN! If you have suggestion make a poll request please.

puraminy commented 10 years ago

I couldn't create a pull request, please if its possible guide me how to use conversion methods in the Laravel, I found the toGerogian method in the jDateTime class but this class is not recognized in the application files

thank you