summaryrefslogtreecommitdiffstats
path: root/system/helpers/date_helper.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-11-23 12:40:16 +0100
committerAndrey Andreev <narf@devilix.net>2016-11-23 12:40:16 +0100
commit610be9dc25bcfd06f30d70139701e86b8c3ad400 (patch)
tree532054d736b247520517a909b417a89baa271bf6 /system/helpers/date_helper.php
parent820d9cdaac9a9c0371404ce82b60a26ed3ac938f (diff)
[ci skip] Deprecate nice_date()
Diffstat (limited to 'system/helpers/date_helper.php')
-rw-r--r--system/helpers/date_helper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/helpers/date_helper.php b/system/helpers/date_helper.php
index 7f072acfa..0606a4562 100644
--- a/system/helpers/date_helper.php
+++ b/system/helpers/date_helper.php
@@ -496,6 +496,7 @@ if ( ! function_exists('nice_date'))
* Turns many "reasonably-date-like" strings into something
* that is actually useful. This only works for dates after unix epoch.
*
+ * @deprecated 3.1.3 Use DateTime::createFromFormat($input_format, $input)->format($output_format);
* @param string The terribly formatted date-like string
* @param string Date format to return (same as php date function)
* @return string