Skip to main content.
home | support | download

Back to List Archive

[swish-e] Incorrect time zone conversion in the output of search

From: Terry Hung <terryh(at)not-real.slac.stanford.edu>
Date: Wed Dec 05 2007 - 22:32:04 GMT
Hi,

   We observed that up to 9 hours of information did not show up when we used
time limits as criteria. The time zone conversion of disk files seems to be 
incorrect. 

Example 1:

    1. Search in a CET time zone		#__ Title of message
    Date1:  2006-02-07 18:29:08 GMT 		#__ the original file timestamp
    Date:   2006-02-08 03:29:08 CET		#__ the timestamp by swish-e
    <snip>...

    Swish-e conversion: 2006-02-07 18:29:08 GMT -> 2006-02-08 03:29:08 CET
    Correct conversion: 2006-02-07 18:29:08 GMT -> 2006-02-07 19:29:08 CET

  The "Date1" is the original timestamp of the file while the "Date:" is the 
timestamp derived by swish-e. The conversion seems to be 8 hours off since
CET=GMT+1hr.

Example 2:

    2. Search in a PST time zone		#__ Title of message
    Date1:  2007-12-05 11:20:29 GMT		#__ the original file timestamp
    Date:   2007-12-05 11:20:29 PST		#__ the timestamp by swish-e

    Swish-e conversion: 2007-12-05 11:20:29 GMT -> 2007-12-05 11:20:29 PST
    Correct conversion: 2007-12-05 11:20:29 GMT -> 2007-12-05 03:20:29 PST
    
    The result is again 8 hours off since GMT=PST+8hr.

    Thanks in advance!

-- 
Terry Hung - Stanford Linear Accelerator Center
e-mail: terryh@slac.stanford.edu 
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed Dec 5 17:32:04 2007