path-util: when parsing a timestamp we don't know the timezone
This commit is contained in:
parent
9185c8e626
commit
6a741b4a2b
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue