[Koha-cvs] koha/C4 Date.pm [rel_3_0]
Henri-Damien LAURENT
laurenthdl at alinto.com
Thu Feb 22 15:25:36 CET 2007
CVSROOT: /cvsroot/koha
Module name: koha
Branch: rel_3_0
Changes by: Henri-Damien LAURENT <hdl> 07/02/22 14:25:36
Modified files:
C4 : Date.pm
Log message:
Bug Fixing : Check_whether_iso contained a mistake.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Date.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.18.2.2&r2=1.18.2.3
Patches:
Index: Date.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Date.pm,v
retrieving revision 1.18.2.2
retrieving revision 1.18.2.3
diff -u -b -r1.18.2.2 -r1.18.2.3
--- Date.pm 13 Feb 2007 14:55:41 -0000 1.18.2.2
+++ Date.pm 22 Feb 2007 14:25:36 -0000 1.18.2.3
@@ -149,7 +149,7 @@
{
my $olddate = shift;
my @olddate= split /\-/,$olddate ;
- return 1 if (length($olddate[0])==4 && length($olddate[0])<=2 && length($olddate[0])<=2);
+ return 1 if (length($olddate[0])==4 && length($olddate[1])<=2 && length($olddate[2])<=2);
return 0;
}
1;
More information about the Koha-cvs
mailing list