Added Tasks to KH
This commit is contained in:
@@ -84,6 +84,20 @@ abstract class lnApp_Config extends Kohana_Config {
|
||||
return date(Kohana::config('config.date_format'),$date);
|
||||
}
|
||||
|
||||
/**
|
||||
* Show a date using a site configured format
|
||||
*/
|
||||
public static function time($date) {
|
||||
return date(Kohana::config('config.time_format'),$date);
|
||||
}
|
||||
|
||||
/**
|
||||
* Show a date using a site configured format
|
||||
*/
|
||||
public static function datetime($date) {
|
||||
return date(Kohana::config('config.date_format').' '.Kohana::config('config.time_format'),$date);
|
||||
}
|
||||
|
||||
/**
|
||||
* See if our emails for the template should be sent to configured admin(s)
|
||||
*
|
||||
|
Reference in New Issue
Block a user