logoalt Hacker News

whatyesterday at 11:28 PM1 replyview on HN

Is “7 days” valid? Docs suggest it has to be an iso 8601 period or a rfc 3339 timestamp.


Replies

mil22today at 12:35 AM

https://docs.astral.sh/uv/reference/settings/#exclude-newer

"Accepts RFC 3339 timestamps (e.g., 2006-12-02T02:07:43Z), a \"friendly\" duration (e.g., 24 hours, 1 week, 30 days), or an ISO 8601 duration (e.g., PT24H, P7D, P30D)."