datetime patch

This commit is contained in:
2019-10-08 11:47:01 +02:00
parent 25c296be6f
commit a77feab830
2 changed files with 7 additions and 1 deletions

View File

@@ -7,6 +7,12 @@ import glob
import datetime as dt
import subprocess
from IPython import embed
try:
iso = dt.date.fromisoformat
except AttributeError:
from backports.datetime_fromisoformat import MonkeyPatch
MonkeyPatch.patch_fromisoformat()
def read_info_file(file_name):