Skip Menu |

This queue is for tickets about the HTML-CalendarMonthSimple CPAN distribution.

Report information
The Basics
Id: 58547
Status: resolved
Worked: 2 hours (120 min)
Priority: 0/
Queue: HTML-CalendarMonthSimple

People
Owner: Nobody in particular
Requestors: MRDVT [...] cpan.org
Cc:
AdminCc:

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



Please add this method so that users do not have to bring Date::Calc into their name space to process urls and the like. =head2 Days_in_Month This function returns the number of days on the current calendar. foreach my $day (1 .. $cal->Days_in_Month) { $cal->setdatehref($day, &make_url($cal->year, $cal->month, $day)); } =cut sub Days_in_Month { my $self=shift; return Date::Calc::Days_in_Month($self->year, $self->month); }
method added to version 1.26