Allow multiple date/time formats to be used.

Allows multiple formats to be configured or used
or the format can be passed directly into the data-format attribute.