Unknown updates from production
This commit is contained in:
@@ -13,8 +13,8 @@ class Site extends lnApp_Site {
|
||||
/**
|
||||
* Show a date using a site configured format
|
||||
*/
|
||||
public static function Date($date) {
|
||||
return (is_null($date) OR ! $date) ? '' : date(Company::instance()->date_format(),$date);
|
||||
public static function Date($date,$format='') {
|
||||
return (is_null($date) OR ! $date) ? '' : date(($format ? $format : Company::instance()->date_format()),$date);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user