add test case for previous commit

This commit is contained in:
Robby Findler 2015-01-21 08:39:27 -06:00
parent f2bacdc6f3
commit 7003ca6eb3

View File

@ -0,0 +1,9 @@
#lang racket/base
(require racket/date rackunit)
;; test that German hours & minutes are separated with a colon, not a period
(check-equal? (parameterize ([date-display-format 'german])
(date->string
(seconds->date
(find-seconds 30 45 2 1 1 1970))
#t))
"1. Januar 1970, 02:45")