plcapi for py3 needs further tweak for rounding up timestamps