fix the parsing of plc timestamps