aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp
diff options
context:
space:
mode:
authorPaul Eggert2019-07-31 19:21:50 -0700
committerPaul Eggert2019-07-31 19:24:13 -0700
commitf8f1c8c33a0a8fa117bf06e3b34865dea48eb6a1 (patch)
tree8848384237d3283acb0ab05770195e244cfc3216 /test/lisp
parent5f78e81af0c2648391f26602189c565627e08218 (diff)
downloademacs-f8f1c8c33a0a8fa117bf06e3b34865dea48eb6a1.tar.gz
emacs-f8f1c8c33a0a8fa117bf06e3b34865dea48eb6a1.zip
format-time-string subsumes time-zone-format
* lisp/calendar/time-date.el (time-zone-format): * test/lisp/calendar/time-date-tests.el (test-time-zone-format): Remove. * lisp/gnus/nnrss.el (nnrss-normalize-date): Use format-time-string instead of time-zone-format.
Diffstat (limited to 'test/lisp')
-rw-r--r--test/lisp/calendar/time-date-tests.el6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/lisp/calendar/time-date-tests.el b/test/lisp/calendar/time-date-tests.el
index 51250ce5e7a..b46a247cd30 100644
--- a/test/lisp/calendar/time-date-tests.el
+++ b/test/lisp/calendar/time-date-tests.el
@@ -104,12 +104,6 @@
104 (should (equal (decoded-time-add time (mdec :zone -7200)) 104 (should (equal (decoded-time-add time (mdec :zone -7200))
105 '(12 15 14 8 7 2019 1 t 7200))))) 105 '(12 15 14 8 7 2019 1 t 7200)))))
106 106
107(ert-deftest test-time-zone-format ()
108 (should (equal (time-zone-format 3600)
109 "+01:00"))
110 (should (equal (time-zone-format -7200)
111 "-02:00")))
112
113(require 'ert) 107(require 'ert)
114 108
115;;; time-date-tests.el ends here 109;;; time-date-tests.el ends here