Just another Perl shrine | |
PerlMonks |
Re^5: DateTime::Format::Strptime Parsing Seems to have a Problem?by ozboomer (Friar) |
on Apr 03, 2019 at 10:58 UTC ( [id://1232078]=note: print w/replies, xml ) | Need Help?? |
Curious... but an interesting point. Again, the docs state: If no parameters are given, then the set members each occur at the beginning of the specified recurrence. I would read that to mean that as I'm specifying a 'daily' recurrence, the 'beginning' of the recurrence is 00 hours of the specified day when a set is created (the item's beginning is the next smaller measure - a daily recurrence starts from a zero hour). The curious thing is that the docs say: For example, by default, the monthly() method returns a set containing the first day of each month. ...which should, if the definition was consistent, refer to the first week of the month... but it refers to the first day. I admit I'm sometime as thick as a brick... but if the docs aren't clear (and/or can be misinterpreted), they aren't clear... tha's all.
In Section
Seekers of Perl Wisdom
|
|