Subject: | SVG::Calendar creates wrong dates |
Date: | Sun, 15 Nov 2015 21:12:31 +0100 |
To: | bug-SVG-Calendar [...] rt.cpan.org |
From: | Lorenz Wallner <l.wallner [...] arcor.de> |
Hi Everybody,
SVG::Calendar produces wrong dates for me. For example, with the
following code:
use SVG::Calendar;
# Create a new (basic) SVG::Calendar object for producing A4 calendars
my $svg = SVG::Calendar->new( page => 'A4' );
# print to standard out the calendar for June 2006
print $svg->output_month( '2015-11' );
# create a calendar for the year 2007
$svg->output_year( );
The Calendar for November 2015 is created. However, it shows the first
November to be a Saturday, when in fact it should be a sunday.
I'd like to add that i consider this a rather serious bug for
SVG::Calendar.
I'm using lubuntu 14.04 and i have installed SVG::Calendar freshly
through the cpan-command in the console.
Regards,
Lorenz Wallner
Message body not shown because it is not plain text.