def _to_unix_date(self, date):
        if csvClient.DATE_FORMAT_STRING[-2:] == "%z":
            dt = datetime.datetime.strptime(date[:-6], csvClient.DATE_FORMAT_STRING[:-2].rstrip())
        else:
            dt = datetime.datetime.strptime(date, csvClient.DATE_FORMAT_STRING)
        return str(calendar.timegm(dt.timetuple()) * 1000)
dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/csv2youtrack.py/CsvYouTrackImportConfig._to_unix_date/original