From 5a4734f8b77519b07568bf693e6dbb0d47aef0b6 Mon Sep 17 00:00:00 2001 From: hodlbod Date: Fri, 13 Feb 2026 08:45:38 -0800 Subject: Add timehashes to nip 52 (#1752) Co-authored-by: Jon Staab --- 52.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '52.md') diff --git a/52.md b/52.md index 0b69007..060b38f 100644 --- a/52.md +++ b/52.md @@ -95,6 +95,7 @@ Aside from the common tags, this also takes the following tags: * `end` (optional) exclusive end Unix timestamp in seconds. If omitted, the calendar event ends instantaneously. * `start_tzid` (optional) time zone of the start timestamp, as defined by the IANA Time Zone Database. e.g., `America/Costa_Rica` * `end_tzid` (optional) time zone of the end timestamp, as defined by the IANA Time Zone Database. e.g., `America/Costa_Rica`. If omitted and `start_tzid` is provided, the time zone of the end timestamp is the same as the start timestamp. +* `D` (required) the day-granularity unix timestamp on which the event takes place, calculated as `floor(unix_seconds() / seconds_in_one_day)`. Multiple tags SHOULD be included to cover the event's timeframe. ```yaml { @@ -113,6 +114,7 @@ Aside from the common tags, this also takes the following tags: // timestamps ["start", ""], ["end", ""], + ["D", "82549"], ["start_tzid", ""], ["end_tzid", ""], @@ -203,10 +205,6 @@ The list of tags is as follows: } ``` -## Unsolved Limitations - -* No private events - ## Intentionally Unsupported Scenarios ### Recurring Calendar Events -- cgit v1.2.3