I parse a date (format: YYYY-MM-DD HH:MM:SS) from a data file which contains multiple lines of dates.
The problem is that the data contains leap seconds so i'm not able to use datetime. How can I take into account the leap seconds (0-60), so that at the end I would have the same result if I would have used datetime.strptime from the string with the format above (thus, date+time), please?
I have already tried with combine using date for the date and time for the time string. Is it the right way or are there some others?
Thanks in advance.