Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Date::Set not returning correct results.

by asarih (Hermit)
on Sep 06, 2003 at 17:14 UTC ( [id://289482]=note: print w/replies, xml ) Need Help??


in reply to Date::Set not returning correct results.

I get the same result on Solaris 9. I'm a little baffled by it, too, because at line 10, right before the print statement, $period has this structure:
DB<1> x $period 0 Date::Set=HASH(0x5ef384) 'dtstart' => undef 'fixtype' => 1 'list' => ARRAY(0x1131ac) 0 HASH(0x606130) 'a' => Date::Set::ICal=HASH(0x605d94) 'epoch' => 20021201 'b' => Date::Set::ICal=HASH(0x497a74) 'epoch' => 20021231 'open_begin' => 0 'open_end' => 0 'tolerance' => 0 'type' => 'Date::Set::ICal' 'wkst' => 'MO'
But if I print $period, I get
DB<2> p $period [19700820T172641Z..19700820T172711Z]
I suggest contacting the developer(s). I also noticed that one of the dependent modules warned about the API being in flux, so there is a possibility that changes in the API broke Date::Set. You might want to try older versions of those.

Good luck.

Replies are listed 'Best First'.
Re: Re: Date::Set not returning correct results.
by the_0ne (Pilgrim) on Sep 07, 2003 at 00:29 UTC
    Thanks for the info. Maybe I'll post it to the comp.lang.perl newsgroup once and see what they say. Maybe the developers monitor that newsgroup. If not, I'll email Flavio.

    Thanks again.

    While I'm at it, does anybody know of any other recurrence modules that are pretty advanced? Our recurrence handles yearly, daily, weekly, weekday a month, date a month and a few others. I have seen others, but they were limited. That's what I liked about the Date::Set module.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://289482]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-25 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found