Index: openacs-4/packages/ecommerce/tcl/ecommerce-utilities-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/ecommerce-utilities-procs.tcl,v diff -u -r1.13.2.2 -r1.13.2.3 --- openacs-4/packages/ecommerce/tcl/ecommerce-utilities-procs.tcl 31 Oct 2004 10:14:22 -0000 1.13.2.2 +++ openacs-4/packages/ecommerce/tcl/ecommerce-utilities-procs.tcl 2 Nov 2004 08:22:24 -0000 1.13.2.3 @@ -569,6 +569,9 @@ be in the format YYYY-MM-DD HH24:MI:SS-TZ. } { + # temporary cludge to get this to work with postgresql timestamp with microseconds + # eventually all ecommerce dates should use lc_time_fmt for i8ln + set ugly_date [lc_time_fmt $ugly_date "%F %T"] # Remove the timezone (-TZ) from ugly_date or clock scan will # choke on it. @@ -592,6 +595,10 @@ } { + # temporary cludge to get this to work with postgresql timestamp with microseconds + # eventually all ecommerce dates should use lc_time_fmt for i8ln + set ugly_date [lc_time_fmt $ugly_date "%F %T"] + # Remove the timezone information (-TZ) that PostgresSQL can # return or the Tcl command 'clock scan' will choke on it.