dereuromark / cakephp-tools

A CakePHP Tools plugin containing lots of useful helpers, behaviors, components, shells, ...
http://www.dereuromark.de
MIT License
336 stars 142 forks source link

use FrozenTime instead of Time utility inside TimeHelper #276

Closed LordSimal closed 1 year ago

LordSimal commented 1 year ago

See https://github.com/dereuromark/cakephp-queue/issues/346

dereuromark commented 1 year ago

I am a bit concerned about the bc impact I wonder if there isnt a config switch or sth

LordSimal commented 1 year ago

Well in the example of the linked queue issue if we don't specificy options for the loaded helper (which you had before) then I don't see a good way to adjust that.

Another solution could have been to make the loaded helpers array configurable in the queue plugin.

But still I prefer this solution because in the end Cake moves away from mutable time and therefore people have to deal with it anyways if they want to keep up wit the latest versions.