From ddfe02342f89703e723699238a424396204aa1cf Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 7 Nov 2022 13:01:13 -0500 Subject: xtime: s/parse_timestamp/xgetdate/ --- src/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parse.c') 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"); -- cgit v1.2.3