Wireshark-bugs: [Wireshark-bugs] [Bug 3384] New: UCT TIME for TIME protocol displayed as local t
Date: Thu, 2 Apr 2009 02:10:19 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3384

           Summary: UCT TIME for TIME protocol displayed as local time
                    rather than UCT time.
           Product: Wireshark
           Version: 1.1.x (Experimental)
          Platform: Other
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: mjaycocks@xxxxxxxxx


Build Information:
wireshark 1.1.3 (SVN Rev 27807)

Copyright 1998-2009 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.16.0, with GLib 2.20.0, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with c-ares 1.6.0, with Lua 5.1, with GnuTLS 2.6.4, with Gcrypt 1.4.4, with MIT
Kerberos, with GeoIP, with PortAudio V19-devel (built Mar 21 2009), with
AirPcap.

Running on Windows Vista Service Pack 1, build 6001, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5, GnuTLS 2.6.4,
Gcrypt 1.4.4, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729

--
TIMEs displayed for the TIME protocol which is UCT time from 1900, are
displayed in local time rather then UCT time.

Shouldn't the time be displayed in UCT time, as that is the specified format
for the TIME protocol.

This is because in packet_time.c the function abs_time_secs_to_str is used to
convert the time, and abs_time_secs_to_str uses localtime.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.