--- CalendarPlugin.pm 2006-03-06 11:25:00.000000000 -0800 +++ CalendarPlugin.pm 2008-06-10 19:00:27.000000000 -0700 @@ -89,10 +89,11 @@ # reasonable defaults to produce a small calendar %defaults = ( # normal HTML::CalendarMonthSimple options border => 1, width => 0, + gmtoffset => 0, # added by Troy Goodson 10 June 2008 showdatenumbers => 0, showweekdayheaders => 0, weekdayheadersbig => undef, # the default is ok cellalignment => 'center', vcellalignment => 'center', @@ -299,10 +300,11 @@ } # get GMT offset my ($currentYear, $currentMonth, $currentDay, $currentHour, $currentMinute, $currentSecond) = Today_and_Now(1); my $gmtoff = scalar &TWiki::Func::extractNameValuePair( $attributes, 'gmtoffset' ); + unless ( $gmtoff ) { $gmtoff = $options{'gmtoffset'}; } ; # added by Troy Goodson 10 June 2008 if ( $gmtoff ) { $gmtoff += 0; ($currentYear, $currentMonth, $currentDay,