Always explicitly set tm_isdst before calling mktime().
authorGuy Harris <guy@alum.mit.edu>
Wed, 9 May 2018 16:31:44 +0000 (09:31 -0700)
committerGuy Harris <guy@alum.mit.edu>
Wed, 9 May 2018 16:33:21 +0000 (16:33 +0000)
commite7d24c606cdb460e835f7d7553d7b82e1ee11eac
tree5f3c88b4e43fa32724e0c2547e402b0907ad38ee
parent517e353e7ffe6318afd304d9f4a49d5027d564fd
Always explicitly set tm_isdst before calling mktime().

Except in rare cases, we want to set it to -1 so that we let mktime()
determine whether DST/Summer Time was in effect at the given date and
time rather than pretending that we know whether it's in effect or not.

Change-Id: I0ea75317dd308a515cedf4d1260b583e1592cc9b
Reviewed-on: https://code.wireshark.org/review/27431
Reviewed-by: Guy Harris <guy@alum.mit.edu>
editcap.c
ui/time_shift.c
wiretap/logcat_text.c