From 1ce5415b41c8d6371adbaa642c36e719a95b30da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=BCrth?= Date: Thu, 16 Feb 2017 16:41:06 +0100 Subject: [PATCH 1/2] Add how to reset the date/time fixation --- en/chronos.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/en/chronos.rst b/en/chronos.rst index 6f844a2faf..69abe1c6a9 100644 --- a/en/chronos.rst +++ b/en/chronos.rst @@ -292,3 +292,5 @@ returned relative to the fixated time:: $time = new Chronos(); // 1975-12-25 00:00:00 $time = new Chronos('1 hour ago'); // 1975-12-24 23:00:00 + +To reset the fixation, simply call ``setTestNow()`` again with no parameter or with ``null`` as parameter. From 8a9c8fb0db48dcf21f7e801fe4076597da47ab89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=BCrth?= Date: Thu, 16 Feb 2017 17:04:14 +0100 Subject: [PATCH 2/2] Grammar and line break --- en/chronos.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/en/chronos.rst b/en/chronos.rst index 69abe1c6a9..8f9fdeec8e 100644 --- a/en/chronos.rst +++ b/en/chronos.rst @@ -293,4 +293,5 @@ returned relative to the fixated time:: $time = new Chronos(); // 1975-12-25 00:00:00 $time = new Chronos('1 hour ago'); // 1975-12-24 23:00:00 -To reset the fixation, simply call ``setTestNow()`` again with no parameter or with ``null`` as parameter. +To reset the fixation, simply call ``setTestNow()`` again with no parameter or +with ``null`` as a parameter.