Re: Java's set of timezone names

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Java's set of timezone names
Дата
Msg-id EC194DA2-0AB4-45CA-B4D1-29671FEFFAB4@fastcrypt.com
обсуждение исходный текст
Ответ на Re: Java's set of timezone names  (Vadim Nasardinov <vadimn@redhat.com>)
Ответы Re: Java's set of timezone names  (Vadim Nasardinov <vadimn@redhat.com>)
Список pgsql-jdbc
Vadim,

Actually you are correct, it is America/Montreal and now that I
switched it back it actually has useDaylight=true... very strange.

I think as John pointed out though there are some issues with using
named TimeZones.

Is there a way to get the servers timezone info from the server ?

Dave
On 20-Jul-05, at 3:10 PM, Vadim Nasardinov wrote:

> On Wednesday 20 July 2005 14:57, Dave Cramer wrote:
>
>> On my Mac my java timezone was set to Canada/Montreal which was
>> broken (did not use DST ) and the server certainly doesn't
>> understand it.
>>
>
> Out of curiosity, do you remember which JDK had this timezone?
> Sun's JDK on Linux doesn't have it:
>
>  | $ find /usr/local/j2sdk1.4.2_08/jre/lib/zi/ -name Montreal
>  | /usr/local/j2sdk1.4.2_08/jre/lib/zi/America/Montreal
>
> It only has America/Montreal, which PostgreSQL should grok just fine,
> AFAICT:
>
>  | $ find /usr/share/zoneinfo/ -name Montreal
>  | /usr/share/zoneinfo/right/America/Montreal
>  | /usr/share/zoneinfo/posix/America/Montreal
>  | /usr/share/zoneinfo/America/Montreal
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faq
>
>


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Vadim Nasardinov
Дата:
Сообщение: Re: Java's set of timezone names
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Timestamp Conversion Woes Redux