trying just date (not time) in the due date format for now
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 9 Oct 2006 16:47:26 +0000 (16:47 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 9 Oct 2006 16:47:26 +0000 (16:47 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6420 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/SIP.pm

index 4dd40be..71b2abc 100644 (file)
@@ -123,7 +123,8 @@ sub format_date {
        $day =~ s/^(\d)$/0$1/;
        $date = "$year$mon$day";
 
-       $date = $year.'-'.$mon.'-'.$day .' 0:00:00' if $type eq 'due';
+       #$date = $year.'-'.$mon.'-'.$day .' 0:00:00' if $type eq 'due';
+       $date = $year.'-'.$mon.'-'.$day if $type eq 'due';
 
        syslog('LOG_DEBUG', "OILS: formatted date [type=$type]: $date");
        return $date;