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. --- NEWS | 5 +++++ client/wallet.pod | 8 ++++---- perl/Wallet/ACL.pm | 9 +++++---- perl/Wallet/Object/Base.pm | 35 ++++++++++++++++++++--------------- perl/Wallet/Server.pm | 9 +++++---- perl/t/keytab.t | 12 ++++++------ perl/t/object.t | 8 ++++---- perl/t/server.t | 19 ++++++++++--------- server/wallet-backend | 14 +++++++------- tests/server/backend-t.in | 4 ++-- 10 files changed, 68 insertions(+), 55 deletions(-) diff --git a/NEWS b/NEWS index 6be0444..ee51205 100644 --- a/NEWS +++ b/NEWS @@ -21,6 +21,11 @@ wallet 0.3 (unreleased) The keytab backend now supports limiting generated keytabs to particular enctypes by setting an attribute on the object. + 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. + The wallet backend test suite now supports using a database other than SQLite for testing. diff --git a/client/wallet.pod b/client/wallet.pod index 779e691..af7042d 100644 --- a/client/wallet.pod +++ b/client/wallet.pod @@ -195,10 +195,10 @@ If is not given, displays the current expiration of the object identified by and , or C if none is set. The expiration will be displayed in seconds since epoch. -If is given, sets the expiration on the object identified by - and to . should be given in seconds -since epoch. If is the empty string, clears the expiration of -the object. +If is given, sets the expiration on the object identified by +and to and (if given)