OpusCapita / react-crudeditor

OpusCapita React CRUD Editor

Home Page:https://opuscapita.github.io/react-crudeditor/branches/master/?currentComponentName=ContractEditor&maxContainerWidth=100%25&showSidebar=false

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduce 'date-only' field type

estambakio-sc opened this issue · comments

Meta-Info Value
ExtProjectId OC-01.1.8
Original Estimation ???h
Remaining Estimation ???h

Originates from https://github.com/OpusCapita/mdm/issues/56#issuecomment-717162017

Current FIELD_TYPE_STRING_DATE means ISO format in field value: 2020-10-27T09:00:00.000Z which is proper behavior according to JavaScript or Java.

We also need a type which describes only a date: 2020-10-27.

TODO: add FIELD_TYPE_STRING_DATE_ONLY type which returns date in YYYY-MM-DD format e.g. 2020-10-27.