From 913adae6ad0e01b51010044ecb1520f0ae18b746 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 3 Jan 2011 06:51:00 +0000 Subject: #989366 by jhodgdon: Improved documentation of hook_date_formats() --- includes/common.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes') 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'. -- cgit v1.2.3