diff --git a/modules/today.pl b/modules/today.pl index 9a2af59a..da80c36d 100644 --- a/modules/today.pl +++ b/modules/today.pl @@ -16,7 +16,7 @@ # 59 Temple Place, Suite 330 # Boston, MA 02111-1307 USA -$ModulesDescription .= '

$Id: today.pl,v 1.2 2006/02/22 22:27:27 as Exp $

'; +$ModulesDescription .= '

$Id: today.pl,v 1.3 2006/02/22 22:28:42 as Exp $

'; # New Action @@ -24,7 +24,7 @@ $Action{new} = \&DoNew; sub DoNew { my $id = shift; - my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday) = gmtime($time); + my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday) = gmtime($Now); $today = sprintf("%d-%02d-%02d", $year + 1900, $mon + 1, $mday); $today .= "_" . $id if $id; return DoEdit($today);