#4141 (Use primereact date and time parsing functions)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Summary
Children
Comments
- 5 years, 5 months ago by Luc Saffre about #4141 (Use primereact date and time parsing functions) : Sharif and I added a new choicelist DateFormats to modlib.about.choicelists
- 5 years, 5 months ago by Luc Saffre about #4141 (Use primereact date and time parsing functions) : Parsing now works. Great. A last step is how to configure the dateFormat (which is hard-coded dd.mm.yy at the moment)
- 5 years, 5 months ago by Luc Saffre about #4141 (Use primereact date and time parsing functions) : The methods convertValueToDate() and formattedDate() of datetime.DateFieldElement are naive and don't work always. We should use the parsing and formatting provided by primereact. See source code of /primereact/src/components/calendar/Calendar.js