diff --git a/docs/NIP-777-spell.md b/docs/NIP-777-spell.md index 5a6919b..65d6b3a 100644 --- a/docs/NIP-777-spell.md +++ b/docs/NIP-777-spell.md @@ -97,14 +97,20 @@ Time bounds support both absolute Unix timestamps and relative expressions: ["since", "7d"] 7 days ago (relative) ["since", "24h"] 24 hours ago ["since", "30m"] 30 minutes ago +["since", "2w"] 2 weeks ago +["since", "1y"] 1 year ago ["until", "now"] Current time at execution ["until", "1704153600"] Absolute Unix timestamp ``` Relative formats: -- `d` — days ago -- `h` — hours ago +- `s` — seconds ago - `m` — minutes ago +- `h` — hours ago +- `d` — days ago +- `w` — weeks ago +- `mo` — months ago (30 days) +- `y` — years ago (365 days) - `now` — current timestamp Clients MUST evaluate relative timestamps at execution time, not at event creation.