Commit 583e2612 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Change the expires time to the proper format.

parent e00e8550
......@@ -19,6 +19,7 @@ use GeniCredential;
use GeniCertificate;
use GeniAggregate;
use English;
use Date::Parse;
use Data::Dumper;
use vars qw();
......@@ -468,8 +469,7 @@ sub SetExpiration($$)
return -1
if (!$query_result);
# XXX Wrong format, but harmless.
$self->{'SLICE'}->{'expires'} = time();
$self->{'SLICE'}->{'expires'} = $expires;
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment