test-parse-datetime.c: avoid new DST-related false positive test failure
authorJim Meyering <meyering@redhat.com>
Sun, 30 Oct 2011 17:12:54 +0000 (18:12 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 30 Oct 2011 17:12:54 +0000 (18:12 +0100)
commit56ddf0fdeb52ce76718e0594db4f567401e90a2c
treecf47e49ebd6ff45b4ad80f65e93131b8906ee859
parent64e571b667e971643b3e0b4cdd54b2ef016e065e
test-parse-datetime.c: avoid new DST-related false positive test failure

* tests/test-parse-datetime.c (gmt_offset): Determine the "gmt_offset"
based on the time/date we'll convert, not the current time.
Otherwise, the moment we cross a DST boundary like today's in
Europe, (CEST to CET), that offset ends up being one hour off.
ChangeLog
tests/test-parse-datetime.c