removed unnecessary time conversion functions replaced by dateutil.parser and code refactoring