requested tests follow list gdt 52 ~/BUILD-GUILE-master/guile > ./meta/guile ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-autocompile argument to disable. ;;; compiling /home/gdt/BUILD-GUILE-master/guile/guile-readline/ice-9/readline.scm ;;; compiled /home/gdt/.cache/guile/ccache/1.9/home/gdt/BUILD-GUILE-master/guile/guile-readline/ice-9/readline.scm.go Guile Scheme interpreter 0.5 on Guile 1.9.1 Copyright (C) 2001-2008 Free Software Foundation, Inc. Enter `,help' for help. scheme@(guile-user)> (use-modules (ice-9 i18n)) scheme@(guile-user)> (make-locale LC_ALL "does-not-exist") # scheme@(guile-user)> (map locale-day (map 1+ (iota 7))) ("Sun" "Mon" "Tue" "Wed" "Thu" "Fri" "Sat") scheme@(guile-user)> (map (lambda (day) (locale-day day (make-locale LC_ALL "C"))) (map 1+ (iota 7))) ("Sun" "Mon" "Tue" "Wed" "Thu" "Fri" "Sat") scheme@(guile-user)> (map (lambda (day) (locale-day day %global-locale)) (map 1+ (iota 7))) ("Sun" "Mon" "Tue" "Wed" "Thu" "Fri" "Sat") scheme@(guile-user)> (use-modules (srfi srfi-19)) (let ((d (string->date "Saturday, December 9, 2006" scheme@(guile-user)> "~A, ~B ~d, ~Y"))) (date->time-utc (make-date (date-nanosecond d) (date-second d) (date-minute d) (date-hour d) (date-day d) (date-month d) (date-year d) 0))) Backtrace: In unknown file: ?: 0* [# #] In standard input: 35: 1* [#] In srfi/srfi-19.scm: 1462: 2 [string->date "Saturday, December 9, 2006" "~A, ~B ~d, ~Y"] In srfi/srfi-19.scm: 1438: 3 [priv:string->date # 0 "~A, ~B ~d, ~Y" ...] In srfi/srfi-19.scm: 176: 4 [priv:time-error string->date bad-date-template-string ...] In unknown file: ?: 5* [throw misc-error misc-error ...] ERROR: In procedure string->date: ERROR: TIME-ERROR type bad-date-template-string: ("Invalid string for " #index (string)>) scheme@(guile-user)> (use-modules (srfi srfi-19)) (let* ((str "Sun, 05 Jun 2005 18:33:00 +0200") (date (string->date str "~a, ~d ~b ~Y ~H:~M:~S ~z"))) (date->string date)) scheme@(guile-user)> Backtrace: In unknown file: ?: 0* [# #] In standard input: 47: 1* [#] In srfi/srfi-19.scm: 1462: 2 [string->date "Sun, 05 Jun 2005 18:33:00 +0200" "~a, ~d ~b ~Y ~H:~M:~S ~z"] In srfi/srfi-19.scm: 1438: 3 [priv:string->date # 0 "~a, ~d ~b ~Y ~H:~M:~S ~z" ...] In srfi/srfi-19.scm: 176: 4 [priv:time-error string->date bad-date-template-string ...] In unknown file: ?: 5* [throw misc-error misc-error ...] ERROR: In procedure string->date: ERROR: TIME-ERROR type bad-date-template-string: ("Invalid string for " #index (string)>)