diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-11-23 22:52:38 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-11-23 22:52:38 +0100 |
commit | 6a741b4a2b395fd186d73074bd6986016c501216 (patch) | |
tree | 94583f87e4d7ac453c50e5673ed76735a2cbe1f7 /src/shared | |
parent | 9185c8e6266d607df665d24f525b48b39e20d847 (diff) |
path-util: when parsing a timestamp we don't know the timezone
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/time-util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/time-util.c b/src/shared/time-util.c index 7f477100b3..43448e0c63 100644 --- a/src/shared/time-util.c +++ b/src/shared/time-util.c @@ -312,6 +312,7 @@ int parse_timestamp(const char *t, usec_t *usec) { x = time(NULL); assert_se(localtime_r(&x, &tm)); + tm.tm_isdst = -1; if (streq(t, "now")) goto finish; |