Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8814
Modified Files:
Util.pm
Log Message:
fix call to create_date()
Index: Util.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Util.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** Util.pm 5 Dec 2004 20:05:21 -0000 1.15
--- Util.pm 5 Dec 2004 21:08:20 -0000 1.16
***************
*** 38,42 ****
$p->{format} ||= '%Y-%m-%d %T';
$p->{time} ||= time;
! return CTX->create_date( epoch => $p->{time} )
->strftime( $p->{format} );
}
--- 38,42 ----
$p->{format} ||= '%Y-%m-%d %T';
$p->{time} ||= time;
! return CTX->create_date({ epoch => $p->{time} })
->strftime( $p->{format} );
}
|