2017-08-27 13:57:09
0
I am trying to convert my WordPress site to a static site generator using the program exitwp. But during the conversion process, I always get the following error message:
Traceback (most recent call last):
File "exitwp.py", line 374, in
write_jekyll(data, target_format)
File "exitwp.py", line 296, in write_jekyll
i['date'], '%Y-%m-%d %H:%M:%S').replace(tzinfo=UTC()),
File "/Users/xxxxx/.pyenv/versions/2.7.10/lib/python2.7/_strptime.py", line 325, in _strptime
(data_string, format))
ValueError: time data '0000-00-00 00:00:00' does not match format '%Y-%m-%d %H:%M:%S'
I am not a Python programmer but I looked up what the time data format means and it seems to me that '0000-00-00 00:00:00' DOES MATCH the format '%Y-%m-%d %H:%M:%S'.
Any idea what is wrong? Help would be very appreciated!