aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPaul Eggert2019-08-01 15:31:07 -0700
committerPaul Eggert2019-08-01 15:47:15 -0700
commit24b60b75ea544f0c2df740d40592c6665c123523 (patch)
tree2f173fcd7a2b137d33d0c9e4a8c7ce8b22c58bf9 /test
parent10dba8a1b8cb647d6adc1e4894ccc65f46435ee3 (diff)
downloademacs-24b60b75ea544f0c2df740d40592c6665c123523.tar.gz
emacs-24b60b75ea544f0c2df740d40592c6665c123523.zip
Port standard-test-interval to Los Angeles
* test/lisp/calendar/iso8601-tests.el (standard-test-interval): Use UTC to avoid DST glitches in the test.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/calendar/iso8601-tests.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/lisp/calendar/iso8601-tests.el b/test/lisp/calendar/iso8601-tests.el
index 2959f54b811..35c319ed036 100644
--- a/test/lisp/calendar/iso8601-tests.el
+++ b/test/lisp/calendar/iso8601-tests.el
@@ -228,14 +228,14 @@
228 ;; A time interval starting at 20 minutes and 50 seconds past 23 228 ;; A time interval starting at 20 minutes and 50 seconds past 23
229 ;; hours on 12 April 1985 and ending at 30 minutes past 10 hours on 229 ;; hours on 12 April 1985 and ending at 30 minutes past 10 hours on
230 ;; 25 June 1985. 230 ;; 25 June 1985.
231 (should (equal (iso8601-parse-interval "19850412T232050/19850625T103000") 231 (should (equal (iso8601-parse-interval "19850412T232050Z/19850625T103000Z")
232 '((50 20 23 12 4 1985 nil nil nil) 232 '((50 20 23 12 4 1985 nil nil 0)
233 (0 30 10 25 6 1985 nil nil nil) 233 (0 30 10 25 6 1985 nil nil 0)
234 (10 9 11 15 3 1970 0 nil 0)))) 234 (10 9 11 15 3 1970 0 nil 0))))
235 (should (equal (iso8601-parse-interval 235 (should (equal (iso8601-parse-interval
236 "1985-04-12T23:20:50/1985-06-25T10:30:00") 236 "1985-04-12T23:20:50Z/1985-06-25T10:30:00Z")
237 '((50 20 23 12 4 1985 nil nil nil) 237 '((50 20 23 12 4 1985 nil nil 0)
238 (0 30 10 25 6 1985 nil nil nil) 238 (0 30 10 25 6 1985 nil nil 0)
239 (10 9 11 15 3 1970 0 nil 0)))) 239 (10 9 11 15 3 1970 0 nil 0))))
240 240
241 ;; A time interval starting at 12 April 1985 and ending on 25 June 241 ;; A time interval starting at 12 April 1985 and ending on 25 June