postgres back-end does not use mktime to convert to local timezone
postgres reads data using extract epoch and boost::lexical_cast (UTC) but writes data using localtime_r (timezone time and date).
this causes update queries to fail if kea timezone is different than postgres back-end timezone.
fix should be (pseudo code): ‘’’ mktime(gmtime_r(boost::lexical_cast(extrach epoch))) ‘’’
Edited by Razvan Becheriu