chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Timezone Handling in Chicken


From: Kon Lovett
Subject: Re: [Chicken-users] Timezone Handling in Chicken
Date: Wed, 28 Nov 2018 13:47:49 -0800

i will not be able to fix this for a few days

> On Nov 28, 2018, at 12:53 PM, Jeff Moon <address@hidden> wrote:
> 
> If I run the following code under csi:
> (use posix locale)
> (locale-current#current-locale-components)
> It runs fine, and returns the expected info.  However, if I do the following:
> export TZ='America/Phoenix'
> And then re-run it, I get the following:
> 
> Error: (parse-posix-literal-timezone) bad timezone STD offset: 
> "America/Phoenix"
> 
>         Call history:
> 
>         <syntax>          (##core#undefined)
>         <syntax>          (import scheme chicken (only posix 
> seconds->local-time) (only type-errors warning-argument-type) loc......
>         <syntax>          (##core#undefined)
>         <syntax>          (##core#undefined)
>         <syntax>          (##core#undefined)
>         <syntax>          (##core#undefined)
>         <eval>    (##sys#load-library (quote posix) #f)
>         <eval>    (##sys#require (quote locale))
>         locale.scm:107: ##sys#require
>         locale.scm:107: ##sys#require
>         locale.scm:107: ##sys#require
>         locale.scm:107: ##sys#require
>         locale.scm:107: ##sys#require
>         locale.scm:107: ##sys#require
>         <syntax>          (locale-current#current-locale-components)
>         <eval>    (locale-current#current-locale-components)    <--
> 
> 
> The setting that I used for TZ is one of the options that is returned by the 
> tzselect command, so it should be valid.  
> Thanks,
> Jeff
> 
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-users




reply via email to

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