cakephp / chronos

A standalone DateTime library originally based off of Carbon
http://book.cakephp.org/chronos
MIT License
1.34k stars 61 forks source link

Restore Chronos::toNative() #433

Closed markstory closed 9 months ago

markstory commented 9 months ago

This was accidently removed in the shuffle of #417 and #427

Fixes #432

othercorey commented 9 months ago

I wonder if we should deprecate this now that Chronos is a DateTimeImmutable.

dereuromark commented 9 months ago

To make it more consistent, maybe we could deprecated it same way? To immutableDatetime() conversions method? Or just deprecate it.

othercorey commented 9 months ago

If it works for people, we can just leave it. No need to force them to deal with the mess. Maybe it will naturally phase out.