Subject: | Bug |
Date: | Sat, 11 Jul 2020 14:51:36 +0100 |
To: | bug-DateTime-BusinessHours [...] rt.cpan.org |
From: | Richard Coley <r.coley [...] mac.com> |
Hi
In trying the following two dates
"08/07/2020 07:00","08/07/2020 20:00”
Version 2.0.3 doesn’t seem to compute the difference correctly depending if I pass worktiming with a lunch break or not.
Similarly, If I pass holidays they are ignored.
I've attached my test code, together with a local fixed version of the module
Hi
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.
In trying the following two dates
"08/07/2020 07:00","08/07/2020 20:00”
Version 2.0.3 doesn’t seem to compute the difference correctly depending if I pass worktiming with a lunch break or not.
Similarly, If I pass holidays they are ignored.
I've attached my test code, together with a local fixed version of the module