summaryrefslogtreecommitdiff
path: root/test/lisp/calendar
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-07-31 19:21:50 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-07-31 19:24:13 -0700
commitf8f1c8c33a0a8fa117bf06e3b34865dea48eb6a1 (patch)
tree8848384237d3283acb0ab05770195e244cfc3216 /test/lisp/calendar
parent5f78e81af0c2648391f26602189c565627e08218 (diff)
downloademacs-f8f1c8c33a0a8fa117bf06e3b34865dea48eb6a1.tar.gz
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/calendar')
-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 @@
(should (equal (decoded-time-add time (mdec :zone -7200))
'(12 15 14 8 7 2019 1 t 7200)))))
-(ert-deftest test-time-zone-format ()
- (should (equal (time-zone-format 3600)
- "+01:00"))
- (should (equal (time-zone-format -7200)
- "-02:00")))
-
(require 'ert)
;;; time-date-tests.el ends here