code: def _to_epoch(self, ts):
          
  
          year = self.year
          tmpts = "%s %s" % (ts, str(self.year))
          new_time = int(calendar.timegm(time.strptime(tmpts, "%b %d %H:%M:%S %Y")))
  
          # If adding the year puts it in the future, this log must be from last year
          if new_time > int(time.time()):
              year -= 1
              tmpts = "%s %s" % (ts, str(year))
              new_time = int(calendar.timegm(time.strptime(tmpts, "%b %d %H:%M:%S %Y")))
  
          return new_time
docs: Adds a year to the syslog timestamp because syslog doesn't use years
  
          :param ts: The timestamp to add a year to
          :return: Date/time string that includes a year