aboutsummaryrefslogtreecommitdiff
path: root/sx-time.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-27 11:21:02 -0500
committerSean Allred <code@seanallred.com>2014-11-27 11:21:02 -0500
commit92ec323425057284de93c90b7ae0e8f5e96611b6 (patch)
tree65112f05a72c0ba4ac74076d1c53f6612deeb1cd /sx-time.el
parent9c2df708ac4dc62c34882b7978761cf1f73e063f (diff)
parent6848008b60938100d04cda96c093a24cb3370f9a (diff)
Merge branch 'master' into issue-100
Diffstat (limited to 'sx-time.el')
-rw-r--r--sx-time.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/sx-time.el b/sx-time.el
index 9c4dfaa..057a397 100644
--- a/sx-time.el
+++ b/sx-time.el
@@ -29,10 +29,14 @@
;; (LIMIT NAME VALUE)
;; We use an entry if the number of seconds in question is less than
;; LIMIT, but more than the previous entry's LIMIT.
+ ;; For instance, if time is less than 100 sec, we write it in seconds;
+ ;; if it is between 100 and 6000 sec, we use minutes.
+ ;; VALUE is the actual number of seconds which NAME represents.
'((100 "s" 1)
(6000 "m" 60.0)
(108000 "h" 3600.0)
- (34560000 "d" 86400.0)
+ (3456000 "d" 86400.0)
+ (31622400 "mo" 2628000.0)
(nil "y" 31557600.0))
"Auxiliary variable used by `sx-time-since'.")