rarepixel-studio / farsi

Farsi tools for PHP developers
30 stars 10 forks source link

Please add Hour and minute to format function. #3

Closed miladr closed 8 years ago

halaei commented 8 years ago

check out master (no tag yet). A new class JDateTime is added. For example:

echo(JDateTime::fromDateTime(new DateTime())->format('Y/m/d H:i')));

will output

۱۳۹۵/۰۳/۰۲ ۰۷:۲۸

Is that what you mean?

miladr commented 8 years ago

exactly. Is master stable enough?

halaei commented 8 years ago

I have tested it, but not yet personally used. I guess @ahmadbadpey has tried it. This is his issue in another package that leads to the changes here in master.

I will tag it soon to 1.0.0

miladr commented 8 years ago

Very well. I will test it and let you know if anything went wrong. Thank you :100:

halaei commented 8 years ago

Your welcome buddy.