Commit 97c07afc authored by Daiki Ueno's avatar Daiki Ueno
Browse files

(epa--show-key): Use past tense of "expire" if the key

has already been expired.  Thanks to Peter BARABAS.
parent e500c47d
2008-12-03 Daiki Ueno <ueno@unixuser.org>
* epa.el (epa--show-key): Use past tense of "expire" if the key
has already been expired. Thanks to Peter BARABAS.
2008-12-03 Lute Kamstra <lute@gnu.org>
 
* align.el:
......
......@@ -586,7 +586,11 @@ If SECRET is non-nil, list secret keys instead of public keys."
(epg-sub-key-creation-time (car pointer)))
(error "????-??-??"))
(if (epg-sub-key-expiration-time (car pointer))
(format "\n\tExpires: %s"
(format (if (time-less-p (current-time)
(epg-sub-key-expiration-time
(car pointer)))
"\n\tExpires: %s"
"\n\tExpired: %s")
(condition-case nil
(format-time-string "%Y-%m-%d"
(epg-sub-key-expiration-time
......
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