Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5017 Rev 5019
Línea 1139... Línea 1139...
1139
          <div className="form-group">
1139
          <div className="form-group">
1140
            <label htmlFor="timezone">Horario</label>
1140
            <label htmlFor="timezone">Horario</label>
1141
            <Datetime
1141
            <Datetime
1142
              dateFormat="DD-MM-YYYY"
1142
              dateFormat="DD-MM-YYYY"
1143
              onChange={(e) => {
1143
              onChange={(e) => {
1144
                if (!e.toDate) {
1144
                if (e.toDate) {
1145
                  dispatch(addNotification({ msg: `Ha ocurrido un error`, style: 'danger' }))
1145
                  handleDateTime(e.toDate())
1146
                }
1146
                }
1147
                handleDateTime(e.toDate())
-
 
1148
              }}
1147
              }}
1149
              inputProps={{ className: 'form-control' }}
1148
              inputProps={{ className: 'form-control' }}
1150
              initialValue={Date.parse(new Date())}
1149
              initialValue={Date.parse(new Date())}
1151
              closeOnSelect
1150
              closeOnSelect
1152
            />
1151
            />