add function to parse syslog time stamps and fix some of the erroneous parsing