Alpaca provides the easiest way to generate interactive HTML5 forms for web and mobile applications. It uses JSON Schema and simple Handlebars templates to generate great looking, dynamic user interfaces on top of Twitter Bootstrap, jQuery UI, jQuery Mobile and HTML5.
Currently when doing getValue() on my form, I'm getting back a string representation for the datetime-field as per the format I've set ("DD/MM/YYYY HH:mm:ss" in my case).
It seems more logical to me to always have an internal representation of datetime using an actual Javascript date-object, and only use the format "DD/MM/YYYY HH:mm:ss" for presentation.
Currently when doing
getValue()
on my form, I'm getting back a string representation for the datetime-field as per the format I've set ("DD/MM/YYYY HH:mm:ss"
in my case).It seems more logical to me to always have an internal representation of datetime using an actual Javascript date-object, and only use the format
"DD/MM/YYYY HH:mm:ss"
for presentation.Is this supported?