From 8b626b01384d9abfcaef086b52f9afac90705c23 Mon Sep 17 00:00:00 2001 From: Michael Render Date: Fri, 5 Jul 2024 00:41:10 -0400 Subject: [PATCH] Fix typo in C# clock docs --- docs/src/clock.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/clock.md b/docs/src/clock.md index ec3aaf8bd5..ae176fa4c8 100644 --- a/docs/src/clock.md +++ b/docs/src/clock.md @@ -152,7 +152,7 @@ assertThat(locator).hasText("2/2/2024, 10:30:00 AM"); ```csharp // Initialize clock with some time before the test time and let the page load naturally. // `Date.now` will progress as the timers fire. -await Page.Clock.InstallAsync(new +await Page.Clock.InstallAsync(new() { Time = new DateTime(2024, 2, 2, 8, 0, 0) }); @@ -350,7 +350,7 @@ assertThat(locator).hasText("2/2/2024, 10:00:02 AM"); ```csharp // Initialize clock with a specific time, let the page load naturally. -await Page.Clock.InstallAsync(new +await Page.Clock.InstallAsync(new() { Time = new DateTime(2024, 2, 2, 8, 0, 0, DateTimeKind.Pst) });