Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 7138 Rev 7140
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 Intl.DateTimeFormat({ year: 'numeric', month: 'numeric', day: 'numeric' }).format(year)}
27
                initialValue={Date.parse(year)}
28
                inputProps={{ className: 'form-control' }}
28
                inputProps={{ className: 'form-control' }}
29
                closeOnSelect
29
                closeOnSelect
30
            />
30
            />
31
        </SubmitModal>
31
        </SubmitModal>
32
    )
32
    )