ayoungprogrammer / nlquery

Natural Language Engine on WikiData

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Year before 1900

Spiritdude opened this issue · comments

Question: "when was Switzerland founded?"

Answer: "year=1291 is before 1900; the datetime strftime() methods require year >= 1900"

Problem with datetime.strftime not handling these dates properly. I have fixed this by switching the formatting to use arrow