Re: [tcpdump-workers] Should the tcpdump tests be run with TZ=GMT0, or should the AFS printer print time stamps in UTC?

2018-08-12 Thread Francois-Xavier Le Bail
On 05/08/2018 14:46, Denis Ovsienko wrote: > That said, if the output uses UTC, it could be helpful to use an unambiguous > format as well, as in commit 99412d6. In this commit, there is: strftime(time_buf, sizeof (time_buf), "%Y-%m-%dT%H:%M:%S", tm); According to the RFC3339: Z

Re: [tcpdump-workers] Should the tcpdump tests be run with TZ=GMT0, or should the AFS printer print time stamps in UTC?

2018-08-12 Thread Guy Harris
On Aug 12, 2018, at 7:06 AM, Francois-Xavier Le Bail wrote: > Should we add the "Z" suffix (for UTC) ? > strftime(time_buf, sizeof (time_buf), "%Y-%m-%dT%H:%M:%SZ", tm); Should we do so in ts_date_hmsfrac_print() as well, if time_flag isn't LOCAL_TIME? _

Re: [tcpdump-workers] Should the tcpdump tests be run with TZ=GMT0, or should the AFS printer print time stamps in UTC?

2018-08-12 Thread Denis Ovsienko
On Sun, 12 Aug 2018 20:35:36 +0100 Guy Harris wrote > On Aug 12, 2018, at 7:06 AM, Francois-Xavier Le Bail > 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