diff --git a/frontend/src/utils/form/datepicker.md b/frontend/src/utils/form/datepicker.md index b39abb84a..52429b42a 100644 --- a/frontend/src/utils/form/datepicker.md +++ b/frontend/src/utils/form/datepicker.md @@ -9,6 +9,6 @@ Provides UI for entering dates and times ## Methods -### static formatAllFormInputDateValues(form) +### static unformatAll(form, formData) -Call this function on a form that may contain dates *before* submitting the form to convert all date input values to Uni2work internal format. \ No newline at end of file +Call this function on a form and its formData to get back a new FormData object with "unformatted" date values (i.e. all dates formatted from fancy format to backend format). \ No newline at end of file