chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #780: locale egg fails when TZ is "UTC"


From: Chicken Trac
Subject: [Chicken-janitors] #780: locale egg fails when TZ is "UTC"
Date: Sun, 22 Jan 2012 03:57:34 -0000

#780: locale egg fails when TZ is "UTC"
------------------------+---------------------------------------------------
 Reporter:  retroj      |       Owner:       
     Type:  defect      |      Status:  new  
 Priority:  major       |   Milestone:  4.8.0
Component:  extensions  |     Version:  4.7.x
 Keywords:              |  
------------------------+---------------------------------------------------
 In a cgi program called through Apache, I get the following error when I
 (use locale):

     bad timezone STD offset: "UTC"

 Source of the error is the function parse-posix-literal-timezone, where
 offset-re fails to match.  If I change the environment variable TZ to
 "UTC+0" in my .htaccess, there is no error.

 Relevant system information:

     $ cat /etc/debian_version
     6.0.1
     $ chicken-status|grep -m1 locale
     locale .......................... version: 0.6.12
     $ csc -V
     (c)2008-2010 The Chicken Team
     (c)2000-2007 Felix L. Winkelmann
     Version 4.5.0
     linux-unix-gnu-x86 [ manyargs dload ptables ]
     compiled 2010-06-17 on biber (Linux)

 Also reproduced with Chicken 4.7 on another system by calling (parse-
 posix-literal-timezone "UTC") directly from a repl.  (I had no trouble
 loading the locale egg on that other system.)

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/780>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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