Hello,
On 7/10/13 1:48 PM, Shankar wrote:
Hello,
The 'type' of 'expires' column in location table is 'datetime'
whereas
in table presentity the type is 'int'. Is there any reason behind this?
I hope for the sake of uniformity 'expires' can be changed to
'datetime'.
it was developer choice for each module, the one being 'int' is storing
the unixtimestamp which is actually easier to use inside the code,
because it does not need conversion, not timezone adjustments. usrloc
(using location) is one of the very old modules, whereas presence was
developed many year after it.
Cheers,
Daniel
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda