- fixed time-utc->date test in mat time&date-printing to work regardless of

what locale (and time zone) the host machine has set.
    date.ms

original commit: 74563ef8261680a21d005af1eef4b70ec1757095
This commit is contained in:
Andy Keep 2016-04-27 23:07:43 -04:00
parent 0187d2bf4e
commit 3aece4eaec
2 changed files with 4 additions and 8 deletions

10
LOG
View File

@ -45,10 +45,6 @@
- liberalized get-mode check for ../mats. it's not our business whether
people make their directories group and/or other writeable.
6.ms
- make test now prints the actual relative path to summary in the
"check summary" message, whether invoked from the top-level directory
or from the workarea.
Makefile.in, Makefile-workarea.in
- configure now just uses cat to copy Makefile-workarea.in to $w/workarea,
since the file is presently the same regardless of the configuration.
configure
- fixed time-utc->date test in mat time&date-printing to work regardless of
what locale (and time zone) the host machine has set.
date.ms

View File

@ -563,6 +563,6 @@
(with-output-to-string (lambda () (pretty-print (make-time 'time-duration 1 -1))))
"#<time-duration -0.999999999>\n")
(equal?
(with-output-to-string (lambda () (write (time-utc->date (make-time 'time-utc 708626501 1427137297)))))
(with-output-to-string (lambda () (write (time-utc->date (make-time 'time-utc 708626501 1427137297) -14400))))
"#<date Mon Mar 23 15:01:37 2015>")
)