Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the DateTime-BusinessHours CPAN distribution.

Report information
The Basics
Id: 132979
Status: new
Priority: 0/
Queue: DateTime-BusinessHours

People
Owner: Nobody in particular
Requestors: r.coley [...] mac.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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>
Download (untitled) / with headers
text/plain 332b
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
Download date.pl
text/x-perl 2.5k

Message body is not shown because sender requested not to inline it.

Download RBusinessHours.pm
text/x-perl 5.5k

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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.