mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-30 03:43:40 +01:00
Applied fix from Bradley Bell to enable epoch date usage.
This commit is contained in:
parent
45468509d6
commit
80162794d8
@ -102,12 +102,12 @@
|
||||
// I don't have access to M$-SQL, can someone finish these 2 functions ? (jengo)
|
||||
function to_timestamp($epoch)
|
||||
{
|
||||
return False;
|
||||
return date('Y-m-d H:i:s', $epoch);
|
||||
}
|
||||
|
||||
function from_timestamp($timestamp)
|
||||
{
|
||||
return False;
|
||||
return strtotime($timestamp);
|
||||
}
|
||||
|
||||
// public: perform a query with limited result set
|
||||
|
Loading…
Reference in New Issue
Block a user