[jcifs] timezone problems

Julian Reschke julian.reschke at gmx.de
Thu Apr 1 07:34:12 GMT 2004

Michael B Allen wrote:
> Eric said:
>>Attached is another test case that would seem to confirm Julian's
>>observations.  This does the following:
> Ok, but now with the DST adjustment commented out I'm seeing a problem. If
> I copy a file with a source time of May 8:32pm, Ethereal claims the time
> read is 9:32pm. Indeed the file created has a time of 9:32pm according to
> Explorer. If I copy it again, it drifts to 10:32pm. If I copy a new file
> there's no drift.

I'd like to test that. *How* are you copying the file?

> You know originally I adjusted only readTime. For some reason I copied the
> adjustment to writeTime later. Maybe I should have trusted my original
> analysis.

At the end of the day, there should be a set of unit tests tha JCifs 
should pass; that would discussions like this much easier :-)

Regards, Julian

<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

More information about the jcifs mailing list