Ensure to clear announcement flags in case of a false positive (should not happen normally).
Explicitly copy over the value of tm_isdst into newtime to prevent a
code path of GCC 4.7/4.8 to happen, causing time->tm_idst to be set to
corrupt values.