Re: Solve a problem of LC_TIME of windows.

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>, Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Solve a problem of LC_TIME of windows.
Date: 2009-01-07 13:22:52
Message-ID: 20090107132252.GB14891@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

ITAGAKI Takahiro wrote:
>
> Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp> wrote:
>
> > Seems LC_CTYPE and LC_TIME should be convertible even though we use
> > wcsftime (which internally calls strftime?).
>
> Ok, wcsftime() requries both LC_TIME and LC_CTYPE are the same setting
> (at least encoding) on Windows.

shouldn't this use LC_TIME?

+ setlocale(LC_CTYPE, locale_time);

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2009-01-07 13:25:01 Re: Solve a problem of LC_TIME of windows.
Previous Message Peter Eisentraut 2009-01-07 13:17:49 Re: incoherent view of serializable transactions

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2009-01-07 13:25:01 Re: Solve a problem of LC_TIME of windows.
Previous Message ITAGAKI Takahiro 2009-01-07 05:09:22 Re: Solve a problem of LC_TIME of windows.