Skip to content
Snippets Groups Projects
Commit ae37891b authored by estegar's avatar estegar
Browse files

Update file PresentadorMSugerencias.java

parent eff00cff
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,9 @@ public class PresentadorMSugerencias {
DefaultTableModel modeloTablaDefecto = miVista.getJTableModelo();
modeloTablaDefecto.setRowCount(0);
for (Sugerencia s : sug) {
Object[] fila = {s.getId(), s.getSugerencia(), s.getColaborador()}; //, s.getFecha()};
String [] partes = s.getFecha().split("-");
String fechaEsp = partes[2]+"-"+partes[1]+"-"+partes[0];
Object[] fila = {s.getId(), s.getSugerencia(), s.getColaborador(), fechaEsp}; //, s.getFecha()};
modeloTablaDefecto.addRow(fila);
}
miVista.setJTableModelo(modeloTablaDefecto);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment