So the clocks go forward here in the UK, and again the SJ server thinks -all- of my local files are out of date.


This is such a pain, we have to track it down. How can I help?

My clients are setup for GMT, with "automatically adjust for DST" turned on.

The server is setup exactly the same.

All boxes show the same time.

I'm guessing there is a problem with some Time/Calendar usage in SJ server or client not using methods that take the timezone into account properly.

Date.getTime() returns UTC. This does not include DST adjustments. So I suspect in some places SJ is using this UTC value with DST adjusted (Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(Calendar.DST_OFFSET)) and in others just the ZONE_OFFSET

...or SJ is never doing timezone adjustments.

Anyway, it's getting confused along these lines.

Cheers


-- Marc Palmer [EMAIL PROTECTED] Wangjammers - Java, J2ME and Web Consultants ~ http://www.wangjammers.org/



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
SourceJammer-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sourcejammer-devel

Reply via email to