public inbox for [email protected]  
help / color / mirror / Atom feed
Subject: [Pljava-dev] problem with date and timezone
Date: Mon, 24 Nov 2008 17:06:51 +0100
Message-ID: <[email protected]> (raw)

Hello,

When I set a date in a row, this row is OK but the trigger seems not to 
be in the same timezone because I have one day less (in reality one hour).

I use Debian :
aladin at srv-aladin:/usr/local/aladin$ more /etc/timezone
Europe/Paris

My JVM tell me : System.out.println(TimeZone.getDefault());
sun.util.calendar.ZoneInfo[id="GMT+01:00",offset=3600000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]

And the trigger :
sun.util.calendar.ZoneInfo[id="GMT+01:00",offset=3600000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]

So that's the same ...

On another server, all is OK but with the same localtime !!! :
boyere at footcrix:~/INSA/documents/foot$ more /etc/timezone
Europe/Paris

My JVM and Triiger client tell me : 
System.out.println(TimeZone.getDefault());
sun.util.calendar.ZoneInfo[id="Europe/Paris",offset=3600000,dstSavings=3600000,useDaylight=true,transitions=184,lastRule=java.util.SimpleTimeZone[id=Europe/Paris,offset=3600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]]


So what could be is wrong in my first server ?

I use postgresql 8.1 and the same pljava version (I think 1.3 ...).

thanks for your Help,

Eric




view thread (5+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Subject: Re: [Pljava-dev] problem with date and timezone
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox