diff --git a/core/model/fieldtypes/Date.php b/core/model/fieldtypes/Date.php index ff13cfbed..7caec4b50 100644 --- a/core/model/fieldtypes/Date.php +++ b/core/model/fieldtypes/Date.php @@ -75,12 +75,19 @@ class Date extends DBField { /** - * Returns the date in the format 24 May 2006 + * Returns the date in the format 24 December 2006 */ function Long() { if($this->value) return date('j F Y', strtotime($this->value)); } + /** + * Returns the date in the format 24 Dec 2006 + */ + function Full() { + if($this->value) return date('j M Y', strtotime($this->value)); + } + /** * Return the date using a particular formatting string. * @@ -331,4 +338,4 @@ class Date extends DBField { } } -?> \ No newline at end of file +?>