Fixing an innoculous test case failure I introduced, by override the platform's time zone.
Relaxing the contract on date->string to accord with previous documentation. Changing web-server example to use more restrictive contract Please include in 5.0 original commit: 50fd0278bae0fd18a016e5c0dde63513c2cff088
This commit is contained in:
commit
6e7dd7db19
|
@ -8,7 +8,7 @@
|
|||
(provide/contract
|
||||
[current-date (-> date?)]
|
||||
[date->seconds (date? . -> . exact-integer?)]
|
||||
[date->string ((date?) (boolean?) . ->* . string?)]
|
||||
[date->string ((date?) (any/c) . ->* . string?)]
|
||||
[date-display-format (parameter/c (symbols 'american 'chinese 'german 'indian 'irish 'julian 'iso-8601 'rfc2822))]
|
||||
[find-seconds ((integer-in 0 61)
|
||||
(integer-in 0 59)
|
||||
|
|
Loading…
Reference in New Issue
Block a user