bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guildhall update failed under zh_CN.UTF-8 locale


From: Andy Wingo
Subject: Re: guildhall update failed under zh_CN.UTF-8 locale
Date: Thu, 04 Aug 2011 15:09:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Hi nalingarut,

Sorry for the delay.

On Thu 21 Jul 2011 09:53, nalaginrut <address@hidden> writes:

> 1461: 1 [string->date "Thu, 21 Jul 2011 07:47:39 +0000" "~a, ~d ~b ~Y
> ~H:~M:~S ~z"]
> 1437: 0 [priv:string->date # 0 "~a, ~d ~b ~Y ~H:~M:~S ~z" ...]
>
> ../../module/srfi/srfi-19.scm:1437:26: In procedure priv:string->date:
> ../../module/srfi/srfi-19.scm:1437:26: In procedure string->date:
> TIME-ERROR type bad-date-template-string: ("Invalid string for "
> #<procedure priv:locale-abbr-weekday->index (string)>)
>
> And my locale:
> -------------------->cut<---------------------------------
> LANG=zh_CN.UTF-8
> LANGUAGE=zh_CN:zh:en
> LC_CTYPE="zh_CN.UTF-8"
...

Indeed, I was sloppy when I wrote the date parser and serializer, and
used the locale-dependent srfi-19.  I have rewritten these parsers to
not depend on the current locale, and to be more efficient.

Please pull stable-2.0 and try again.  Thanks for the report!

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]