[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/intranet/modules/C4/Calendar Calendar.pm [rel_TG]
From: |
Tumer Garip |
Subject: |
[Koha-cvs] koha/intranet/modules/C4/Calendar Calendar.pm [rel_TG] |
Date: |
Mon, 12 Mar 2007 17:04:45 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_TG
Changes by: Tumer Garip <tgarip1957> 07/03/12 17:04:45
Modified files:
intranet/modules/C4/Calendar: Calendar.pm
Log message:
bug fixing new Date::Calc
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/intranet/modules/C4/Calendar/Calendar.pm?cvsroot=koha&only_with_tag=rel_TG&r1=1.1.2.2&r2=1.1.2.3
Patches:
Index: Calendar.pm
===================================================================
RCS file: /sources/koha/koha/intranet/modules/C4/Calendar/Attic/Calendar.pm,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- Calendar.pm 11 Mar 2007 20:04:01 -0000 1.1.2.2
+++ Calendar.pm 12 Mar 2007 17:04:45 -0000 1.1.2.3
@@ -440,7 +440,7 @@
sub isHoliday {
my ($self, $day, $month, $year) = @_;
- my $weekday = Day_of_Week($month, $day, $year);
+ my $weekday = Day_of_Week( $year,$month, $day);
my $weekDays = $self->get_week_days_holidays();
my $dayMonths = $self->get_day_month_holidays();
my $exceptions = $self->get_exception_holidays();