Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9238
Modified Files:
Context.pm
Log Message:
fix DateTime call
Index: Context.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Context.pm,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -d -r1.77 -r1.78
*** Context.pm 5 Dec 2004 08:56:14 -0000 1.77
--- Context.pm 5 Dec 2004 21:10:32 -0000 1.78
***************
*** 443,449 ****
}
elsif ( $params->{epoch} ) {
! return DateTime->now(
! time_zone => $self->timezone_object,
! from_epoch => $params->{epoch},
);
}
--- 443,449 ----
}
elsif ( $params->{epoch} ) {
! return DateTime->from_epoch(
! time_zone => $self->timezone_object,
! epoch => $params->{epoch},
);
}
|