This commit is contained in:
parent
03765bbaca
commit
7cd3b6b6c8
|
@ -1286,7 +1286,7 @@ function getTimeZone() {
|
|||
/**
|
||||
* Returns the current time in formatted form.
|
||||
*
|
||||
* @param unknown $format format to use (e.g. 'Y-m-d H:i:s,00')
|
||||
* @param unknown $format format to use (e.g. 'Y-m-d H:i:s')
|
||||
*/
|
||||
function getFormattedTime($format) {
|
||||
$time = new DateTime(null, getTimeZone());
|
||||
|
|
Loading…
Reference in New Issue