Re: Guessing the date style from the timezone for postgresql postinst

1999-09-21 Thread Daniel Barclay
> From: "Oliver Elphick" >Style DateDatetime >--- >ISO1999-07-17 1999-07-17 07:09:18+01 ^ Is that correct? Doesn't ISO 8601 specify the character "T" betwee

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-19 Thread Robert Vollmert
On Sun, Sep 19, 1999 at 12:31:27AM +0200, Josip Rodin wrote: > On Sat, Sep 18, 1999 at 06:36:47PM +0200, Robert Vollmert wrote: > > With /bin/sh -> /bin/ash, I get the following error: > > > > guess.datestyle: 25: Syntax error: word unexpected (expecting ")") > > > > It works fine with bash.

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-19 Thread Nicolás Lichtmaier
> > Well.. the libc maintainers don't want to add the locale for my country for > >no reason, even if it is included in the package as source. > I use a target in the glibc makefiles to generate the locales, if it > doesn't generate the one for your country, there's nothing I can do > about it.

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-19 Thread Joel Klecker
At 20:58 -0300 1999-09-18, Nicolás Lichtmaier wrote: Well.. the libc maintainers don't want to add the locale for my country for no reason, even if it is included in the package as source. I use a target in the glibc makefiles to generate the locales, if it doesn't generate the one for your countr

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Nicolás Lichtmaier
> > > Here's a revised version of the script taking into account all comments > > > so far. > > I guess Argentina isn't the only country that uses the SQL format. There > > must be some others too. It would be great to find a source for this > > information > > Hmm... the question is why we d

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Herbert Xu
Oliver Elphick wrote: > Robert Vollmert wrote: > >With /bin/sh -> /bin/ash, I get the following error: > > > >guess.datestyle: 25: Syntax error: word unexpected (expecting ")") > > > >It works fine with bash. It seems the opening brace on > > > >case "$x" in ( SystemV | posi

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Bernd Eckenfels
On Sat, Sep 18, 1999 at 03:58:02AM -0300, Nicolás Lichtmaier wrote: > > Here's a revised version of the script taking into account all comments > > so far. > I guess Argentina isn't the only country that uses the SQL format. There > must be some others too. It would be great to find a source for t

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Josip Rodin
On Sat, Sep 18, 1999 at 06:36:47PM +0200, Robert Vollmert wrote: > With /bin/sh -> /bin/ash, I get the following error: > > guess.datestyle: 25: Syntax error: word unexpected (expecting ")") > > It works fine with bash. It seems the opening brace on > > case "$x" in ( SystemV | posix |

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Oliver Elphick
Robert Vollmert wrote: >With /bin/sh -> /bin/ash, I get the following error: > >guess.datestyle: 25: Syntax error: word unexpected (expecting ")") > >It works fine with bash. It seems the opening brace on > >case "$x" in ( SystemV | posix | right ) > ^ >is

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Robert Vollmert
On Sat, Sep 18, 1999 at 01:45:55AM +0100, Oliver Elphick wrote: > If you have a recent potato system, with timezone files in > /usr/share/zoneinfo, could you please run the script and let me know if > it gives WRONG results for you. If it does, please tell me your timezone > and offset (date '+%Z

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Nicolás Lichtmaier
> Here's a revised version of the script taking into account all comments > so far. I guess Argentina isn't the only country that uses the SQL format. There must be some others too. It would be great to find a source for this information

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Oliver Elphick
Carey Evans wrote: >"Oliver Elphick" writes: > >> If you have a recent potato system, with timezone files in >> /usr/share/zoneinfo, could you please run the script and let me know if >> it gives WRONG results for you. If it does, please tell me your timezone >> and offset (date '+%Z

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Nicolás Lichtmaier
>Style DateDatetime >--- >ISO1999-07-17 1999-07-17 07:09:18+01 >SQL17/07/1999 17/07/1999 07:09:19.00 BST >POSTGRES 17-07-1999 Sat 17 Jul 07:09:19 1999 BST >GERMAN 17.07.

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Raul Miller
On Fri, Sep 17, 1999 at 11:20:13PM -0400, Joe Drew wrote: > It's my personal preference that ISO standard be used unless otherwise > told - but that's me. I tend to agree. It would just be so simple to have the default be ISO. As ISO is very unambiguous, I don't think it would cause problems, ei

Re: Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Joe Drew
On Sat, Sep 18, 1999 at 01:45:55AM +0100, Oliver Elphick wrote: > In order to help remove unnecessary prompts from the Debian PostgreSQLl > installation script, I want it to guess the local date style, to be chosen > from the following list: > [...] > I propose to include the attached script. If th

Guessing the date style from the timezone for postgresql postinst

1999-09-18 Thread Oliver Elphick
In order to help remove unnecessary prompts from the Debian PostgreSQLl installation script, I want it to guess the local date style, to be chosen from the following list: Style DateDatetime --- ISO1999-07-17