Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 4390 Rev 5016
Línea 1047... Línea 1047...
1047
  const dispatch = useDispatch()
1047
  const dispatch = useDispatch()
Línea 1048... Línea 1048...
1048
 
1048
 
Línea 1049... Línea 1049...
1049
  const handleChange = (value) => setConferenceType(value)
1049
  const handleChange = (value) => setConferenceType(value)
-
 
1050
 
-
 
1051
  const handleDateTime = (value) => {
1050
 
1052
    const date = value.toDate()
1051
  const handleDateTime = (value) => {
1053
    console.log(typeof value)
1052
    setDate({
1054
    setDate({
1053
      ...date,
1055
      ...date,
1054
      year: new Intl.DateTimeFormat('es', { year: 'numeric' }).format(value),
1056
      year: new Intl.DateTimeFormat('es', { year: 'numeric' }).format(value),
Línea 1138... Línea 1140...
1138
          coferenceType === 's' &&
1140
          coferenceType === 's' &&
1139
          <div className="form-group">
1141
          <div className="form-group">
1140
            <label htmlFor="timezone">Horario</label>
1142
            <label htmlFor="timezone">Horario</label>
1141
            <Datetime
1143
            <Datetime
1142
              dateFormat="DD-MM-YYYY"
1144
              dateFormat="DD-MM-YYYY"
1143
              onChange={(e) => handleDateTime(e.toDate())}
1145
              onChange={(e) => handleDateTime(e)}
1144
              inputProps={{ className: 'form-control' }}
1146
              inputProps={{ className: 'form-control' }}
1145
              initialValue={Date.parse(new Date())}
1147
              initialValue={Date.parse(new Date())}
1146
              closeOnSelect
1148
              closeOnSelect
1147
            />
1149
            />
1148
          </div>
1150
          </div>