On Fri Mar 11 07:16:54 2011, luca@yepa.com wrote:
Show quoted text> Hi,
>
> the Italian calendar is changed in 2011:
>
> in Date/Calendar/Profiles.pm in $Profiles->{'IT'}
>
> Only in year 2011:
> "Unità d'Italia" => "17.03."
>
> Code:
> ---
> "Unità d'Italia" => \&IT_Unita,
>
> sub IT_Unita
> {
> my($year,$label) = @_;
> if ($year == 2011) { return($year,17,3) }
> }
> ---
>
> Thank you.
>
> Luca Venturini
I intend not to make any fixes to any of the calendar profiles anymore unless there are VERY compelling reasons to do so.
These profiles are merely meant as examples.
The suggested way of using these profiles is to copy them to one's own code and then to modify them as needed.
(Otherwise many people could be negatively affected if I made any changes to a profile they are using)
Any improvements such as the one suggested by you are therefore left as an exercise to the inclined reader. :-)