Fix datepicker

This at least makes it possible to test :)
...Although it's basically fine right now, since you're merging into ac-staging.