From 45d8382fb2cc3f32b176675c0edb7eef5ca6aa21 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sat, 1 Dec 2007 01:55:18 +0000 Subject: Expiration dates are now expressed in YYYY-MM-DD HH:MM:SS instead of seconds since epoch and returned the same way. Timestamps are now stored in the database as correct date and time types rather than seconds since epoch to work properly with MySQL. --- server/wallet-backend | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'server') diff --git a/server/wallet-backend b/server/wallet-backend index 1e067d1..c2be5e7 100755 --- a/server/wallet-backend +++ b/server/wallet-backend @@ -186,7 +186,7 @@ sub command { check_args (2, 2, [], @args); $server->destroy (@args) or failure ($server->error, @_); } elsif ($command eq 'expires') { - check_args (2, 3, [], @args); + check_args (2, 4, [], @args); if (@args > 2) { $server->expires (@args) or failure ($server->error, @_); } else { @@ -397,16 +397,16 @@ object will be usable. Destroy the object identified by and . With some backends, this will trigger destruction of an object in an external system as well. -=item expires [] +=item expires [ [