Bugfix/date ranges

Fix a bug with `dateRange` format being mis-configured as `date`.

Also, just make `date` formatting robust enough to handle arrays if this happens/has happened elsewhere.