mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Add a formatting constant for sending dates to client
This commit is contained in:
parent
2c7814b39c
commit
51ab65131f
@ -45,6 +45,11 @@ class egw_time extends DateTime
|
|||||||
* Database timestamp format: Y-m-d H:i:s
|
* Database timestamp format: Y-m-d H:i:s
|
||||||
*/
|
*/
|
||||||
const DATABASE = 'Y-m-d H:i:s';
|
const DATABASE = 'Y-m-d H:i:s';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* etemplate2 format for ignoring timezones in the browser
|
||||||
|
*/
|
||||||
|
const ET2 = 'Y-m-d\TH:i:s\Z';
|
||||||
/**
|
/**
|
||||||
* DateTimeZone of server, read from $GLOBALS['egw_info']['server']['server_timezone'], set by self::init()
|
* DateTimeZone of server, read from $GLOBALS['egw_info']['server']['server_timezone'], set by self::init()
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user