Open Abigail opened 3 years ago
This is the same issue as https://github.com/houseabsolute/DateTime.pm/issues/90
One quick fix is to just use https://metacpan.org/release/DateTime-TimeZone-Tzfile for your zones instead. It's a bit less convenient since you have to pass a TZ object into the DateTime
constructor. You could subclass DateTime
to make it use the Tzfile
class when given a zone name.
This is very fast:
taking only a millisecond or so.
Making a slight change:
and the code runs more than 3 minutes before it completes.