trying yet another date format to make vendors happy
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Oct 2006 18:45:38 +0000 (18:45 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 10 Oct 2006 18:45:38 +0000 (18:45 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6433 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 71b2abc..2f2dff8 100644 (file)
@@ -123,8 +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 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;