From 34c906e73d70c78b20ce895fb00b201550a25426 Mon Sep 17 00:00:00 2001 From: Jonathan Lamim Date: Tue, 3 Mar 2020 12:21:31 -0300 Subject: [PATCH] [ci skip] Correction to the 'Dates and Times' library documentation #2657 --- user_guide_src/source/libraries/time.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/user_guide_src/source/libraries/time.rst b/user_guide_src/source/libraries/time.rst index f7ee1350c806..2a084c05e9ef 100644 --- a/user_guide_src/source/libraries/time.rst +++ b/user_guide_src/source/libraries/time.rst @@ -58,7 +58,7 @@ today() ------- Returns a new instance with the date set to the current date, and the time set to midnight. It accepts strings -for the timezone and locale in the second and third parameters:: +for the timezone and locale in the first and second parameters:: $myTime = Time::today('America/Chicago', 'en_US'); @@ -66,7 +66,7 @@ yesterday() ----------- Returns a new instance with the date set to the yesterday's date and the time set to midnight. It accepts strings -for the timezone and locale in the second and third parameters:: +for the timezone and locale in the first and second parameters:: $myTime = Time::yesterday('America/Chicago', 'en_US'); @@ -74,7 +74,7 @@ tomorrow() ----------- Returns a new instance with the date set to tomorrow's date and the time set to midnight. It accepts strings -for the timezone and locale in the second and third parameters:: +for the timezone and locale in the first and second parameters:: $myTime = Time::tomorrow('America/Chicago', 'en_US');