Separate date and time information for styling purposes (CC @agnogueira)

Overcome stupid JavaScript limitations with Python, ZPT and HTML5 custom data attributes.
Follow JS code conventions
Crop fraction of a second on ISO format as datedime attribute only suports up to 3 digits