Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 7133 Rev 7134
Línea 22... Línea 22...
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}`).toString()}
27
                initialValue={new Date(year)}
28
                inputProps={{ className: 'form-control' }}
28
                inputProps={{ className: 'form-control' }}
29
                closeOnSelect
29
                closeOnSelect
30
            />
30
            />
31
        </SubmitModal>
31
        </SubmitModal>
32
    )
32
    )