Closed local-minimum closed 1 year ago
That was a mistake done by me by converting all of them from the regular js method to class properties, which causes breaking change, so switching back would be another breaking change.
For now please follow this guide https://github.com/dmtrKovalenko/date-io#2-reexport-the-bindings
Since arrow-methods are not available when sub-classing the
LuxonUtils
(e.g. to have it always use UTC rather than local-time) throughsuper
it would be better if the implementation ofIUtils<DateTime>
was doing something like:instead of
because then subclassing could be done like so (which is not possible when
date
is defined with=>
as it is now: