summaryrefslogtreecommitdiffstats
path: root/src/xtime.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-11-08 11:53:19 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-11-08 11:53:19 -0500
commit8917a48c31540dd7a99f95dd317d6cf1ac2f6803 (patch)
tree673d875cc007d504c6170a9cc19e06e88e5690d1 /src/xtime.c
parent2d5edb37b924715b4fbee4d917ac334c773fca61 (diff)
downloadbfs-8917a48c31540dd7a99f95dd317d6cf1ac2f6803.tar.xz
tests/xtouch: Add some missing POSIX touch features
Diffstat (limited to 'src/xtime.c')
-rw-r--r--src/xtime.c2
1 files changed, 1 insertions, 1 deletions
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;
}