[Koha-cvs] koha/C4 Date.pm [rel_2_2]

Henri-Damien LAURENT laurenthdl at alinto.com
Mon Jan 15 18:47:00 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Henri-Damien LAURENT <hdl>	07/01/15 17:47:00

Modified files:
	C4             : Date.pm 

Log message:
	Removing Some Warnings

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Date.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.13.4.1&r2=1.13.4.2

Patches:
Index: Date.pm
===================================================================
RCS file: /sources/koha/koha/C4/Date.pm,v
retrieving revision 1.13.4.1
retrieving revision 1.13.4.2
diff -u -b -r1.13.4.1 -r1.13.4.2
--- Date.pm	5 Dec 2006 14:57:55 -0000	1.13.4.1
+++ Date.pm	15 Jan 2007 17:47:00 -0000	1.13.4.2
@@ -61,7 +61,7 @@
 		return "";
 	}
 
-    warn $olddate;
+#     warn $olddate;
 #     $olddate=~s#/|\.|-##g;
     my ($year,$month,$day)=Parse_Date($olddate);
     ($year,$month,$day)=split /-|\/|\.|:/,$olddate unless ($year && $month);
@@ -86,7 +86,7 @@
       {
           return "Invalid date format: $dateformat. Please change in system preferences";
       }
-      warn "newdate :$newdate";
+#       warn "newdate :$newdate";
     }
     return $newdate;
 }





More information about the Koha-cvs mailing list