jenssegers / date

🗓 A library to help you work with dates in multiple languages, based on Carbon.
https://jenssegers.com
MIT License
1.81k stars 245 forks source link

Write a version of this library on top of Chronos #258

Closed Evertt closed 4 years ago

Evertt commented 7 years ago

Chronos is a replacement for Carbon which has 2 main benefits: it's made to be immutable by default and it's more performant than Carbon.

I think a lot of people are gonna switch over to Chronos for that reason. Maybe even Laravel in 6.0. And I would very much like to have an extension of Chronos that adds more localization support. Just like this repository does for Carbon.

So uh, would you be willing to create another version of this repository, one that extends Chronos?

kylekatarnls commented 5 years ago

Carbon is now strongly maintained, has a wide localization support, supports immutability and many features Chronos didn't; Laravel chose Carbon 2 over Chronos for its last release (5.8).

If features are missing in Chronos, use jenssegers/date, if features are missing in Carbon, feature requests are welcome on https://github.com/briannesbitt/Carbon/issues.

It seems now way more reasonable than re-code the whole set of localization features for Chronos.

@jenssegers maybe this could be closed unless you plan to implement a Chronos compatible version.