Wireshark mailing list archives

Re: Set capture to TZ blah?


From: Guy Harris <guy () alum mit edu>
Date: Sat, 14 Mar 2015 11:16:07 -0700


On Mar 14, 2015, at 8:00 AM, Niels de Vos <ndevos () redhat com> wrote:

When I have captures and logs that do not match the timezone, I use the
TZ environment variable to read the captures in the timezone of the
logs, like:

   $ TZ=America/New_York tshark -r /path/to/capture.pcap.gz ....

or

   $ TZ=America/New_York wireshark /path/to/capture.pcap.gz

That would work on systems using the IANA tz database (and using the new tz naming scheme; I'm not sure whether Solaris 
does), so it'd work on, at minimum, most if not all Linux distributions, *BSD, and OS X.

However, it doesn't work on, for example, Windows, which doesn't use the IANA tz database.

(That's why I suggested that we might want to incorporate the tz database in Wireshark.)

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: