Update docs/src/api/class-clock.md

Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
Signed-off-by: Simon Knott <info@simonknott.de>
This commit is contained in:
Simon Knott 2024-10-07 07:14:35 +02:00 committed by GitHub
parent 56a99364f7
commit a0125c8965
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -251,7 +251,7 @@ Time to be set.
Sets system time, but does not trigger any timers. Use this to test how the web page reacts to a time shift, for example switching from summer to winter time, or changing time zones. Sets system time, but does not trigger any timers. Use this to test how the web page reacts to a time shift, for example switching from summer to winter time, or changing time zones.
Don't use together with [`method: Clock.install`]. Read docs on [clock emulation](../clock.md) to learn more. Use this method for simple scenarios where you only need to test with a predefined time. For more advanced scenarios, use [`method: Clock.install`] instead. Read docs on [clock emulation](../clock.md) to learn more.
**Usage** **Usage**