BOINC / boinc

Open-source software for volunteer computing and grid computing.
https://boinc.berkeley.edu
GNU Lesser General Public License v3.0
2.02k stars 446 forks source link

Specify time zone #317

Closed romw closed 9 years ago

romw commented 9 years ago

Reported by Didactylos on 9 Sep 37531912 14:13 UTC It would be useful for troubleshooting to have the absolute time when events occurred. So, could the log include the timezone offset when giving the date?

(Suggested by !JmBoullier)

romw commented 9 years ago

Commented by davea on 14 Dec 37532249 11:06 UTC Done; time zone is given once, at start of message log

romw commented 9 years ago

Commented by Didactylos on 4 Jan 37532270 20:26 UTC That's a partial solution, but it doesn't help when people copy messages from the middle of the log.

When was this done? I can't find a timezone in any of my logs, and I built 5.11.0 on Monday.

romw commented 9 years ago

Commented by Didactylos on 30 Apr 37532340 17:20 UTC An extra complication: the way I read it, the timezone stored in host_info can't be used as a message time offset, since it is the local standard time, not the actual local time. Basically, it ignores daylight saving. Possibly I'm reading it wrong; I didn't check this very carefully.

romw commented 9 years ago

Commented by Nicolas on 8 Mar 37532386 09:46 UTC I have suggested to provide two logs: a computer-readable log, with non-changing format, and a user-readable log. Advantages: 3rd party tools would get more useful information than they can currently get from the existing log. We can do things to the user-readable log like changing messages for clarification or allowing translations, without breaking other programs.[[BR]]Related to this ticket: the computer-readable log could save timestamps in UTC.

romw commented 9 years ago

Commented by davea on 28 Mar 37532469 01:20 UTC The change is in the SVN trunk, and will appear in the next release.

The local time used by BOINC takes daylight savings into account (if not, that's a bug; please report separately).

It would take too much space to include TZ offset in each message line, and it would confuse users to report times in UTC. So I'm going to leave it as is.

romw commented 9 years ago

Commented by Nicolas on 31 Dec 37535534 10:13 UTC r13155 seems to have further changes about this.

romw commented 9 years ago

Commented by davea on 29 Feb 37608952 20:53 UTC (In [13293]) - client: timezone reflects daylight savings time (Win) from David Barnard; fixes #334

romw commented 9 years ago

Commented by romw on 9 Mar 37795439 23:33 UTC (In [13879]) - client: timezone reflects daylight savings time (Win) from David Barnard; fixes #334

client/
    gui_rpc_server_ops.C
    hostinfo_win.C
lib/
    str_util.C
romw commented 9 years ago

Commented by Ageless on 28 Mar 37798018 03:33 UTC I'm not so sure it now works in BOINC 5.10.24 .. With DST on here in The Netherlands I'm at UTC+2, but BOINC continues to tell me I'm at UTC+1. [[br]]

'''18-Oct-07 12:39:04|| Local time is UTC +1 hours'''

Windows clock says I live at W. Europe Daylight Time

romw commented 9 years ago

Commented by Didactylos on 11 Mar 37798035 06:40 UTC David has fixed this already.

romw commented 9 years ago

Commented by Ageless on 11 Sep 37798044 12:00 UTC Ah, I see. In 13904

romw commented 9 years ago

Commented by Ageless on 7 Apr 37798045 20:00 UTC Sorry, overlooked that due to that spammer being busy again.