Re: [Xsltforms-support] format-number
Brought to you by:
alain-couthures
From: Ioan F. <mi...@gm...> - 2015-11-19 15:32:21
|
Hi Alain, Thank you for interest and involvement. I think that the type should remain valid xsd:dateTime. And, perhaps more important than the seconds, it would be the possibility to restrict the minutes to dozens or quarters of an hour, because it's uncomfortable to choose from the list of 60 positions. For me it's good anyway, as to be easier to implement for you. Thanks, Ioan On 11/18/2015 11:08 PM, Alain Couthures wrote: > Hi Ioan, > > Restricting the calendar widget for seconds input is an interesting > idea because I presume that users are rarely interested in seconds > setting. > > I can see 2 possibilities: would you prefer to restrict the value with > a data type or to set options for the widget without restricting the > value? In the first situation, a correct value for xsd:dateTime could > be invalid for the restricted data type while, in the second > situation, a correct value for xsd:dateTime would always be valid. > > The way XSLTForms is designed will, in both situations, require to > define a new data type. For the second situation, it could be > implemented as for options for RTE. > > What do you think? > > Alain > |