summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/helpers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-20 14:46:05 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-20 14:46:05 +0100
commitbe368a82f789aaa9f0ac0c8b6fa72a2f7cd0b6d4 (patch)
tree43a29bbea1b145cf92ada0efe49f19b8fcbcd273 /user_guide_src/source/helpers
parentca39f2efb2d827d13e4065535355de894965435a (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/helpers')
-rw-r--r--user_guide_src/source/helpers/date_helper.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/user_guide_src/source/helpers/date_helper.rst b/user_guide_src/source/helpers/date_helper.rst
index 39a9cb325..d9019a203 100644
--- a/user_guide_src/source/helpers/date_helper.rst
+++ b/user_guide_src/source/helpers/date_helper.rst
@@ -268,6 +268,9 @@ The following functions are available:
If the second parameter is empty, the current year will be used.
+ .. note:: This function will alias the native ``cal_days_in_month()``, if
+ it is available.
+
.. function:: date_range([$unix_start = ''[, $mixed = ''[, $is_unix = TRUE[, $format = 'Y-m-d']]]])
:param int $unix_start: UNIX timestamp of the range start date