forked from mirrors/org-mode
test-org-clock: Avoid daylight saving time failure
* testing/lisp/test-org-clock.el (test-org-clock/clocktable/match): Shift times away from the beginning of the day to avoid unexpected time totals due to DST changes. test-org-clock/clocktable/match fails today in the US because at 2:00 clocks jumped to 3:00, and the total time check uses the range 2:00-4:00.
This commit is contained in:
parent
b712b9618a
commit
7470ee93a6
|
@ -357,9 +357,9 @@ the buffer."
|
|||
|--------------+--------+------|
|
||||
| H1 | | 2:00 |"
|
||||
(org-test-with-temp-text "** H1\n\n*** H2 :tag:\n\n*** H3\n<point>"
|
||||
(insert (org-test-clock-create-clock ". 1:00" ". 2:00"))
|
||||
(insert (org-test-clock-create-clock ". 8:00" ". 9:00"))
|
||||
(goto-line 4)
|
||||
(insert (org-test-clock-create-clock ". 2:00" ". 4:00"))
|
||||
(insert (org-test-clock-create-clock ". 9:00" ". 11:00"))
|
||||
(test-org-clock-clocktable-contents ":match \"tag\" :indent nil")))))
|
||||
|
||||
(ert-deftest test-org-clock/clocktable/tags ()
|
||||
|
|
Loading…
Reference in a new issue