Unknown updates from production

This commit is contained in:
Deon George
2018-06-13 21:34:58 +10:00
parent e412ca72d0
commit a27787e0d4
73 changed files with 103 additions and 14 deletions

View File

@@ -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);
}
/**