summaryrefslogtreecommitdiff
path: root/tests/post.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2017-01-23 19:43:22 -0500
committerDavid Thompson <dthompson2@worcester.edu>2017-01-23 19:43:22 -0500
commit288d2041e5c0b70282dcbfa9f00cd3d6740f83fa (patch)
tree5b11ce5fa9a65b99bc486ec0d205f9ea37c90511 /tests/post.scm
parent1ef922f8f82f05f3763078a4510d747f0af9a22b (diff)
Fix tests that fail during daylight savings time.
lol oops
Diffstat (limited to 'tests/post.scm')
-rw-r--r--tests/post.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/post.scm b/tests/post.scm
index 38fcfbe..b0407c9 100644
--- a/tests/post.scm
+++ b/tests/post.scm
@@ -26,7 +26,8 @@
(define (make-date* year month day)
(make-date 0 0 0 0 day month year 0))
-(define %tzoffset (date-zone-offset (current-date)))
+(define %tzoffset
+ (date-zone-offset (string->date "2015-09-05" "~Y~m~d")))
(test-equal "post-ref"
'(hello test)