Current html5 date input type doesn't cover some major browser like FF & IE
http://caniuse.com/#feat=input-datetime So +1 for using JqueryUI option. If you want to have future proof version, you can use both using modernizr script (http://modernizr.com/) and fallback if html5 doesn't support in native. *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Tue, Jul 8, 2014 at 10:27 AM, Amal Gunatilake <[email protected]> wrote: > Hi Dakshika, > > For now it is used to pick up a specific date. > > Thank you & Best regards, > > *Amal Gunatilake* > Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > > On Tue, Jul 8, 2014 at 3:51 PM, Dakshika Jayathilaka <[email protected]> > wrote: > >> Is this use to pick up date only or for date range ? >> >> *Dakshika Jayathilaka* >> Software Engineer >> WSO2, Inc. >> lean.enterprise.middleware >> 0771100911 >> >> >> On Tue, Jul 8, 2014 at 6:43 AM, Amal Gunatilake <[email protected]> wrote: >> >>> Hi All, >>> >>> In the BPMN Humantask UI, in certain task completion forms, we need to >>> add the date picker to get the user input. >>> >>> Following are the options available >>> >>> 1) Use the JQueryUI library to generate the date picker (via adding >>> JQueryUI JS library). >>> 2) Use the HTML 5 date picker html tag ( <input type="date"/> ). >>> >>> If we use the 2nd option then the date picker will only work with HTML 5 >>> supportive browsers and this will finally return the date format >>> as"yyyy-mm-dd", but the backend need the input as "dd/mm/yyyy" format. So >>> we may have to again reformat the initial input via a JS script. >>> >>> Where as JQuery UI will support in any browser and give us the option to >>> format the date using the inbuilt method $.datepicker.formatDate( >>> "yy-mm-dd", inputDate ). If we use JQuery UI in future we might be able to >>> use this library in displaying graphs, etc. >>> >>> Please let us know your feedback on what is the best option to go ahead >>> with. >>> >>> Thank you & Best regards, >>> >>> *Amal Gunatilake* >>> Software Engineer >>> WSO2 Inc.; http://wso2.com >>> lean.enterprise.middleware >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
