had syntax error in last commit. Also, dates now output with dashes.