From 22cc0c118b7ad6fd0124ce62c6cf3149888f3655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Breu=C3=9F?= Date: Sat, 11 Jul 2026 13:20:36 +0200 Subject: [PATCH] docs: add `DateTimeOffsetRead` to time-system notification callbacks The "Available callbacks" table in the time-system notifications docs omitted `DateTimeOffsetRead()`, which fires when `DateTimeOffset.Now` or `UtcNow` is read. Add the missing row. --- Docs/pages/docs/time-system/notifications.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/Docs/pages/docs/time-system/notifications.mdx b/Docs/pages/docs/time-system/notifications.mdx index bb4a8d7a9..8dab782e0 100644 --- a/Docs/pages/docs/time-system/notifications.mdx +++ b/Docs/pages/docs/time-system/notifications.mdx @@ -25,6 +25,7 @@ Like the file-system [notifications](../file-system/intercept-and-notify), each | Method on `On` | Fires when | `T` | |--------------------|---------------------------------------------------------|-------------| | `DateTimeRead()` | `DateTime.Now`, `UtcNow` or `Today` is read | `DateTime` | +| `DateTimeOffsetRead()` | `DateTimeOffset.Now` or `UtcNow` is read | `DateTimeOffset` | | `TaskDelay()` | `Task.Delay` (any overload) is called | `TimeSpan` | | `ThreadSleep()` | `Thread.Sleep` (any overload) is called | `TimeSpan` | | `TimeChanged()` | the simulated time advanced (auto-advance or manual) | `DateTime` |