Port of downstream modification: apply trimming of zeros to all fields in advance
This allows to treat fields as real numbers without the need to trim case by case. One can also reduce dependency to api and just use plain tcl expressions to evaluate conditions
Port of downstream HTML5 date and time form widgets by Günter Ernst
These widgets provide a better and more consistent user experience and client-side validation across multiple platforms. They should in time become the preferred alternative for dates and time for template forms.