diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-11-07 13:01:13 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-11-07 13:03:38 -0500 |
commit | ddfe02342f89703e723699238a424396204aa1cf (patch) | |
tree | b8ac65213805c99e09d72a73008ad39041322497 /src/parse.c | |
parent | 9c96ae64fafb6885fcac42122181d175c34738a2 (diff) | |
download | bfs-ddfe02342f89703e723699238a424396204aa1cf.tar.xz |
xtime: s/parse_timestamp/xgetdate/
Diffstat (limited to 'src/parse.c')
-rw-r--r-- | src/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c index 1be7cb7..ef52cbe 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1898,7 +1898,7 @@ static enum bfs_stat_field parse_newerxy_field(char c) { /** Parse an explicit reference timestamp for -newerXt and -*since. */ static int parse_reftime(const struct parser_state *state, struct bfs_expr *expr) { - if (parse_timestamp(expr->argv[1], &expr->reftime) == 0) { + if (xgetdate(expr->argv[1], &expr->reftime) == 0) { return 0; } else if (errno != EINVAL) { parse_expr_error(state, expr, "%m.\n"); |