I'm trying to use the PlayFramework date mappings and a datetime-local field. [Docs Here](https://www.playframework.com/documentation/2.5.x/ScalaForms "Docs Here")

A truncated mapping looks like this, with a couple of options I've tried for the validator.

```
mapping(
  "startTimeGt" -> optional(jodaDate),
  "startTimeLt" -> optional(jodaDate("dd-MM-yyyy HH:mm"))
)(...

```

I have tried both the bundled inputDate helper, and a datetime-local field.

But whatever combination I seem to try I get an `error.date` on form submit. I feel like this should be simple, and either I'm missing something in the docs, or they just don't tell me. Has anyone got a working example of the html required and a `jodaDate` mapping?