added YYYY-MM-DD handling for /inhistory (#48)
added YYYY handling to /inhistory (fixes #48)