From 8917a48c31540dd7a99f95dd317d6cf1ac2f6803 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 8 Nov 2022 11:53:19 -0500 Subject: tests/xtouch: Add some missing POSIX touch features --- src/xtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xtime.c') diff --git a/src/xtime.c b/src/xtime.c index 153b267..079d42a 100644 --- a/src/xtime.c +++ b/src/xtime.c @@ -236,7 +236,7 @@ int xgetdate(const char *str, struct timespec *result) { if (!*str) { goto end; - } else if (*str == 'T') { + } else if (*str == 'T' || *str == ' ') { ++str; } -- cgit v1.2.3