Always convert date metadata to string to avoid parse errors. fixes #153
Add error message if permalink uses date but date is not parseable.
wip v2.1.1
Merge remote-tracking branch 'upstream/master'