Share

Heritrix: Internet Archive Web Crawler

Tracker: Bugs

6 Some dates are GMT, others are not - ID: 908690
Last Update: Comment added ( karl-ia )

Log messages look to be GMT but names of files are not.
Need to be consistent.


Michael Stack ( stack-sf ) - 2004-03-03 00:55

6

Closed

Fixed

Gordon Mohr

Usability/UI

0.8.0

Public


Comments ( 7 )

Date: 2007-03-14 00:08
Sender: karl-ia


This issue is now discussed in the new JIRA tracker at
http://webteam.archive.org/jira/browse/HER-85 -- please add further
comments at that location.


Date: 2004-11-03 19:12
Sender: gojomoProject Admin

Logged In: YES
user_id=144912

Added line (on Oct 22) seems to have fixed. Closing.

For reference, the commit comment:

Fix for [ 908690 ] Some dates are GMT, others are not
* Heritrix.java
Use TimeZone.setDefault("GMT") at launch time to cause
most (if not all ) system times to be shown in GMT.




Date: 2004-10-22 21:46
Sender: gojomoProject Admin

Logged In: YES
user_id=144912

Looks like adding this line:

TimeZone.setDefault(TimeZone.getTimeZone("GMT"));

...atop Heritrix.main() causes the TZ for all logging/etc to
become GMT, without confusing any code about the real time.
(Heritrix UI and logging that was in GMT still is, but java
logging that wasn't now is too.)

Going to run with the change for a while then will commit to
HEAD and perhaps 1.0.x as well.


Date: 2004-05-11 22:55
Sender: stack-sfProject Admin

Logged In: YES
user_id=924942

Need to make a version of Formatter that does GMT dates.


Date: 2004-03-11 20:58
Sender: stack-sfProject Admin

Logged In: YES
user_id=924942

Reopened. Class loggers such as that in
org.archive.io.RecordingInputStream logs w/ non-GMT
timestamps. Made it low priority issue.


Date: 2004-03-05 02:20
Sender: stack-sfProject Admin

Logged In: YES
user_id=924942

Igor and I reran over the logs and arcs that was the cause
of our filing this issue and all seemed fine; all timestamps
in logs, filenames, and inside arcs were GMT. Closing issue
as invalid.


Date: 2004-03-04 00:56
Sender: kristinn_sigProject Admin

Logged In: YES
user_id=892643

All dates (and timestamps) should be gotten via methods on
ArchiveUtils class. They ensure that the dates are GMT.

More details on where problems were occuring would be useful.


Attached File

No Files Currently Attached

Changes ( 12 )

Field Old Value Date By
close_date 2004-03-05 02:20 2004-11-03 19:12 gojomo
resolution_id Invalid 2004-11-03 19:12 gojomo
status_id Open 2004-11-03 19:12 gojomo
assigned_to stack-sf 2004-10-22 21:46 gojomo
priority 2 2004-10-22 21:46 gojomo
artifact_group_id None 2004-03-31 01:12 gojomo
assigned_to nobody 2004-03-11 20:58 stack-sf
priority 4 2004-03-11 20:58 stack-sf
status_id Closed 2004-03-11 20:58 stack-sf
status_id Open 2004-03-05 02:20 stack-sf
close_date - 2004-03-05 02:20 stack-sf
resolution_id None 2004-03-05 02:20 stack-sf