summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorIban Eguia <admin@razican.com>2012-06-12 16:09:36 +0200
committerIban Eguia <admin@razican.com>2012-06-12 16:09:36 +0200
commitfeb14dac4e7a417a48344a5188a8ad8074871df4 (patch)
treeecbd2962417cdb7b38c0332908acb96784870891 /user_guide_src
parentc88daba688d309150a7dce43817ab76ec7834bda (diff)
Changed the config parameter. The session's _get_time() function has also changed.
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/helpers/date_helper.rst6
-rw-r--r--user_guide_src/source/installation/upgrade_300.rst5
2 files changed, 4 insertions, 7 deletions
diff --git a/user_guide_src/source/helpers/date_helper.rst b/user_guide_src/source/helpers/date_helper.rst
index 33b39bd5b..7bbfd4f15 100644
--- a/user_guide_src/source/helpers/date_helper.rst
+++ b/user_guide_src/source/helpers/date_helper.rst
@@ -30,11 +30,9 @@ it will return time().
:returns: integer
::
+ echo now("Australia/Victoria");
- $tz = "Australia/Victoria";
- echo now($tz);
-
-If a timezone is not provided, it will return time() based on "timezone" setting.
+If a timezone is not provided, it will return time() based on "time_reference" setting.
mdate()
=======
diff --git a/user_guide_src/source/installation/upgrade_300.rst b/user_guide_src/source/installation/upgrade_300.rst
index c2c3899ee..debf9662c 100644
--- a/user_guide_src/source/installation/upgrade_300.rst
+++ b/user_guide_src/source/installation/upgrade_300.rst
@@ -45,9 +45,8 @@ need to rename the `$active_record` variable to `$query_builder`.
Step 5: Change your use of the Date helper's now() function
===========================================================
-Function now() has been modified. You can see the changes in :doc:`Date Helper <../helpers/date_helper>`
-You must replace $config['time_reference'] with $config['timezone'] in your config.php file. You can select all
-PHP supported timezones, listed here: `Supported timezones <http://www.php.net/timezones>`_. You can also
+Function now() has been modified. You can see the changes in :doc:`Date Helper <../helpers/date_helper>`.
+You can now select all PHP supported timezones in the `time_reference` setting, listed here: `Supported timezones <http://www.php.net/timezones>`_. You can also
use 'local' if you want to get time().
Step 6: Move your errors folder