diff options
author | Andrey Andreev <narf@devilix.net> | 2014-02-20 14:46:05 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-02-20 14:46:05 +0100 |
commit | be368a82f789aaa9f0ac0c8b6fa72a2f7cd0b6d4 (patch) | |
tree | 43a29bbea1b145cf92ada0efe49f19b8fcbcd273 /user_guide_src/source/changelog.rst | |
parent | ca39f2efb2d827d13e4065535355de894965435a (diff) |
Date helper days_in_month(), CI_Calendar::get_total_days() changes
- days_in_month() now uses cal_days_in_month(), if available.
- CI_Calendar::get_total_days() is now an alias for days_in_month().
Diffstat (limited to 'user_guide_src/source/changelog.rst')
-rw-r--r-- | user_guide_src/source/changelog.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst index ccbb950af..a3e79805f 100644 --- a/user_guide_src/source/changelog.rst +++ b/user_guide_src/source/changelog.rst @@ -65,11 +65,12 @@ Release Date: Not Released - :doc:`Date Helper <helpers/date_helper>` changes include: - - :func:`now()` now works with all timezone strings supported by PHP. - Added an optional third parameter to :func:`timespan()` that constrains the number of time units displayed. - Added an optional parameter to :func:`timezone_menu()` that allows more attributes to be added to the generated select tag. - - Deprecated ``standard_date()``, which now just uses the native ``date()`` with `DateTime constants <http://www.php.net/manual/en/class.datetime.php#datetime.constants.types>`_. - Added function :func:`date_range()` that generates a list of dates between a specified period. + - Deprecated ``standard_date()``, which now just uses the native ``date()`` with `DateTime constants <http://www.php.net/manual/en/class.datetime.php#datetime.constants.types>`_. + - Changed :func:`now()` to work with all timezone strings supported by PHP. + - Changed :func:`days_in_month()` to use the native ``cal_days_in_month()`` PHP function, if available. - :doc:`URL Helper <helpers/url_helper>` changes include: @@ -301,6 +302,7 @@ Release Date: Not Released - Added configuration to generate days of other months instead of blank cells. - Added auto-configuration for *next_prev_url* if it is empty and *show_prev_next* is set to TRUE. - Added support for templating via an array in addition to the encoded string. + - Changed method ``get_total_days()`` to be an alias for :doc:`Date Helper <helpers/date_helper>` :func:`days_in_month()`. - :doc:`Cart Library <libraries/cart>` changes include: |