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.
This commit is contained in:
parent
10dba8a1b8
commit
24b60b75ea
1 changed files with 6 additions and 6 deletions
|
@ -228,14 +228,14 @@
|
|||
;; A time interval starting at 20 minutes and 50 seconds past 23
|
||||
;; hours on 12 April 1985 and ending at 30 minutes past 10 hours on
|
||||
;; 25 June 1985.
|
||||
(should (equal (iso8601-parse-interval "19850412T232050/19850625T103000")
|
||||
'((50 20 23 12 4 1985 nil nil nil)
|
||||
(0 30 10 25 6 1985 nil nil nil)
|
||||
(should (equal (iso8601-parse-interval "19850412T232050Z/19850625T103000Z")
|
||||
'((50 20 23 12 4 1985 nil nil 0)
|
||||
(0 30 10 25 6 1985 nil nil 0)
|
||||
(10 9 11 15 3 1970 0 nil 0))))
|
||||
(should (equal (iso8601-parse-interval
|
||||
"1985-04-12T23:20:50/1985-06-25T10:30:00")
|
||||
'((50 20 23 12 4 1985 nil nil nil)
|
||||
(0 30 10 25 6 1985 nil nil nil)
|
||||
"1985-04-12T23:20:50Z/1985-06-25T10:30:00Z")
|
||||
'((50 20 23 12 4 1985 nil nil 0)
|
||||
(0 30 10 25 6 1985 nil nil 0)
|
||||
(10 9 11 15 3 1970 0 nil 0))))
|
||||
|
||||
;; A time interval starting at 12 April 1985 and ending on 25 June
|
||||
|
|
Loading…
Add table
Reference in a new issue