summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-05-22 20:26:02 +0200
committerGravatar Nikias Bassen2014-05-22 20:26:02 +0200
commit84566379a187dda1fe19199e0d8f4910a1a7bb62 (patch)
tree8d184850d8b27fb33e3d1a83879665375703df53 /src
parentd5e1de67fc641a1b85c9185e504d1488820ca02c (diff)
downloadlibplist-84566379a187dda1fe19199e0d8f4910a1a7bb62.tar.gz
libplist-84566379a187dda1fe19199e0d8f4910a1a7bb62.tar.bz2
xplist: Handle DST-affected timezones correctly
Diffstat (limited to 'src')
-rw-r--r--src/xplist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xplist.c b/src/xplist.c
index a21ae7f..d953e23 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -323,7 +323,7 @@ static void parse_date(const char *strval, struct tm *btime)
btime->tm_year-=1900;
btime->tm_mon--;
#endif
- btime->tm_isdst=-1;
+ btime->tm_isdst=0;
}
static void xml_to_node(xmlNodePtr xml_node, plist_t * plist_node)