Reimplement "date" format attribute with DateTimeFormatterBuilder

And add tests to confirm that it works correctly.

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>
Rewrite date-time format attribute using a builder

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>