Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 7134 | Rev 7140 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 7134 Rev 7138
Línea 14... Línea 14...
14
    return (
14
    return (
15
        <SubmitModal
15
        <SubmitModal
16
            submitData={{ last_date_of_application: year }}
16
            submitData={{ last_date_of_application: year }}
17
            closeModal={closeModal}
17
            closeModal={closeModal}
18
            postLink={dataLink}
18
            postLink={dataLink}
19
            title='Visión general'
19
            title='Último día de aplicación'
20
        >
20
        >
21
            <Datetime
21
            <Datetime
22
                dateFormat="DD-MM-YYYY"
22
                dateFormat="DD-MM-YYYY"
23
                timeFormat={false}
23
                timeFormat={false}
24
                onChange={(e) =>
24
                onChange={(e) =>
25
                    setYear(new Intl.DateTimeFormat({ year: 'numeric', month: 'numeric', day: 'numeric' }).format(e.toDate()))
25
                    setYear(new Intl.DateTimeFormat({ year: 'numeric', month: 'numeric', day: 'numeric' }).format(e.toDate()))
26
                }
26
                }
27
                initialValue={new Date(year)}
27
                initialValue={new Intl.DateTimeFormat({ year: 'numeric', month: 'numeric', day: 'numeric' }).format(year)}
28
                inputProps={{ className: 'form-control' }}
28
                inputProps={{ className: 'form-control' }}
29
                closeOnSelect
29
                closeOnSelect
30
            />
30
            />
31
        </SubmitModal>
31
        </SubmitModal>
32
    )
32
    )