---- On Sun, 12 Aug 2018 20:35:36 +0100 Guy Harris <ghar...@sonic.net> wrote ---- > On Aug 12, 2018, at 7:06 AM, Francois-Xavier Le Bail > <devel.fx.leb...@orange.fr> wrote: > > > Should we add the "Z" suffix (for UTC) ? > > strftime(time_buf, sizeof (time_buf), "%Y-%m-%dT%H:%M:%SZ", tm);
That's a good point, I used to think the "T" is both mandatory and indicates the zero offset, but having looked up the spec those are actually properties of the (missing) "Z", whereas "T" (in the RFC version) may be replaced with a space. > Should we do so in ts_date_hmsfrac_print() as well, if time_flag isn't > LOCAL_TIME? Looks like so. -- Denis Ovsienko _______________________________________________ tcpdump-workers mailing list tcpdump-workers@lists.tcpdump.org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers