summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2011-01-03 06:51:00 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2011-01-03 06:51:00 +0000
commit913adae6ad0e01b51010044ecb1520f0ae18b746 (patch)
tree823f166b58a0b039d1295adcf48d7a63e2837c2a /includes
parent0ba31d935055d5c12b5afaf256e5c319366296ef (diff)
downloadbrdo-913adae6ad0e01b51010044ecb1520f0ae18b746.tar.gz
brdo-913adae6ad0e01b51010044ecb1520f0ae18b746.tar.bz2
#989366 by jhodgdon: Improved documentation of hook_date_formats()
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index cef3e45ca..03b0de485 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -1830,7 +1830,8 @@ function format_interval($timestamp, $granularity = 2, $langcode = NULL) {
* @param $type
* (optional) The format to use, one of:
* - 'short', 'medium', or 'long' (the corresponding built-in date formats).
- * - The name of a date type defined by a module in hook_date_format_types().
+ * - The name of a date type defined by a module in hook_date_format_types(),
+ * if it's been assigned a format.
* - The machine name of an administrator-defined date format.
* - 'custom', to use $format.
* Defaults to 'medium'.