Make sure settings.date is set to fix an error/conflict on some sites.
```
Uncaught TypeError: Cannot read property 'search' of undefined
```

https://pronamic.zendesk.com/agent/#/tickets/3363