obiba / mica2

Mica is a web portal for epidemiological study consortia.
http://www.obiba.org/pages/products/mica/
GNU General Public License v3.0
10 stars 15 forks source link

Current date timepicker (angular-strap) does not create dates correctly #4277

Closed kazoompa closed 2 years ago

kazoompa commented 2 years ago

The angular-strap's datetime picker does not create dates from a string correctly and if a user accesses a Mica server in a different timezone the min-max input validations are not correctly set and the angular-strap's datetime make a invalid validation.

Suggested solution is to create a new angular-schemaform add-on using the html5 date capabilities. All Ng libraries are no longer maintained and forking the branch is less convenient.

Find how to stylise the html5 date widget

kazoompa commented 2 years ago

#fix

kazoompa commented 2 years ago

Validation is dome in Mica admin client code.