Skip Menu |

This queue is for tickets about the DateManip CPAN distribution.

Report information
The Basics
Id: 3288
Status: resolved
Priority: 0/
Queue: DateManip

People
Owner: Nobody in particular
Requestors: metaperl [...] gmail.com
Cc:
AdminCc:

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



Subject: please add a Date_Between function
# return true if $date is between $a, $b sub Date_Between { my ($a, $b, $date) = @_; my $A = Date_Cmp($date, $b); my $B = Date_Cmp($a, $date); # warn "A: $A B: $B"; $A == 1 and $B == 1; }
To: bug-DateManip [...] rt.cpan.org
Subject: Re: [cpan #3288] please add a Date_Between function
Date: Tue, 19 Aug 2003 16:58:23 -0400
From: "Sullivan N. Beck" <sbeck [...] cise.ufl.edu>
RT-Send-Cc:
Show quoted text
> > This message about DateManip was sent to you by TBONE <TBONE@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=3288 >
I'll have to think about this. To be honest, I'm not sure that the functionality merits another subroutine in Date::Manip given that it doesn't add anything new and relatively few people will need it (you're the first to ever mention it). Given the size of Date::Manip, it's a fairly high priority to keep the clutter down, so I hesitate to add extensions like this. Let me think about it for a few days though, and I may change my mind. --------------------------| Sullivan Beck |--------------------------- mailto:sbeck@cise.ufl.edu | Senior System Programmer http://www.cise.ufl.edu/~sbeck | University of Florida PH : (352) 392-1057 | CISE Department Fax: (352) 392-1220 | CSE 314E | Gainesville, FL 32611-6120 ------------------------------------------------------------------------