[open-ils-commits] r13518 - trunk/Open-ILS/src/perlmods/OpenILS/Utils/MFHD (djfiander)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Jul 7 20:32:28 EDT 2009


Author: djfiander
Date: 2009-07-07 20:32:27 -0400 (Tue, 07 Jul 2009)
New Revision: 13518

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Utils/MFHD/Date.pm
Log:
Fix a call to DateTime::clone() that I missed the other day

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Utils/MFHD/Date.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Utils/MFHD/Date.pm	2009-07-07 20:51:28 UTC (rev 13517)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Utils/MFHD/Date.pm	2009-07-08 00:32:27 UTC (rev 13518)
@@ -274,7 +274,7 @@
 
 	if ($week eq '00') {
 	    # Every week
-	    $candidate = DateTime->clone($dt);
+	    $candidate = $dt->clone;
 
 # 	    printf("# subsequent_week: DateTime->clone() failed\n")
 # 	      if !defined($candidate);



More information about the open-ils-commits mailing list