Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

timefmt help...

5 views
Skip to first unread message

sune

unread,
Nov 1, 2009, 2:18:13 PM11/1/09
to
Hi.

I have a datafile with entries like this:

WorkThread: Round: 45 Wed Sep 23 14:28:01 CEST 2009 4571816 bytes Got:
200
WorkThread: Round: 95300 Mon Oct 26 15:15:31 CET 2009 685816 bytes
Got: 200

But I have a problem with the CEST and CET.
How do I write my timefmt command (gnuplot 4.2 patchlevel 3)?
Currently I have:

set timefmt "%b %d %H:%M:%S CEST %Y"

Which works fine with the daylight savings CEST
BR Sune Jakobsson

Hans-Bernhard Bröker

unread,
Nov 1, 2009, 2:56:10 PM11/1/09
to
sune wrote:
> WorkThread: Round: 45 Wed Sep 23 14:28:01 CEST 2009 4571816 bytes Got:
> 200
> WorkThread: Round: 95300 Mon Oct 26 15:15:31 CET 2009 685816 bytes
> Got: 200

> But I have a problem with the CEST and CET.

So does everybody else. Which is why any an all timezone dependence,
let alone DST, is best kept out of such logfiles. Use a Unix epoch or
UTC timestamp instead.

> How do I write my timefmt command (gnuplot 4.2 patchlevel 3)?

You don't. You change your data format. Sorry.

sune

unread,
Nov 1, 2009, 5:04:37 PM11/1/09
to

What about including some regex here in a future version?

Sune

0 new messages