add test case for previous commit
This commit is contained in:
parent
f2bacdc6f3
commit
7003ca6eb3
9
pkgs/racket-test/tests/racket/date.rkt
Normal file
9
pkgs/racket-test/tests/racket/date.rkt
Normal 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")
|
Loading…
Reference in New Issue
Block a user