Commit 1f6e37a9 by Joel Florentin

filtro fecha hasta experiencia listado postulante. bug fixed

parent 206de651
...@@ -32,6 +32,7 @@ public class Helper { ...@@ -32,6 +32,7 @@ public class Helper {
} }
public static final long getMonthsDifference(Date date1, Date date2) { public static final long getMonthsDifference(Date date1, Date date2) {
if(date2==null) date2 = new Date();
YearMonth m1 = YearMonth.from(date1.toInstant().atZone(ZoneOffset.UTC)); YearMonth m1 = YearMonth.from(date1.toInstant().atZone(ZoneOffset.UTC));
YearMonth m2 = YearMonth.from(date2.toInstant().atZone(ZoneOffset.UTC)); YearMonth m2 = YearMonth.from(date2.toInstant().atZone(ZoneOffset.UTC));
......
spring.jpa.hibernate.ddl-auto=create-drop spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.show-sql=true #spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true #spring.jpa.properties.hibernate.format_sql=true
logging.level.org.hibernate.SQL=DEBUG #logging.level.org.hibernate.SQL=DEBUG
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE #logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
spring.sql.init.mode=always spring.sql.init.mode=always
spring.sql.init.platform=postgres spring.sql.init.platform=postgres
......
...@@ -306,10 +306,7 @@ ...@@ -306,10 +306,7 @@
<h6 class="mb-0">Estado</h6> <h6 class="mb-0">Estado</h6>
<span class="text-secondary">${detalle_estudios.getEstado()}</span> <span class="text-secondary">${detalle_estudios.getEstado()}</span>
</li> </li>
<li class="list-group-item d-flex justify-content-between align-items-center flex-wrap">
<h6 class="mb-0">SubNombre</h6>
<span class="text-secondary">${detalle_estudios.getInstitucion().getSubNombre()}</span>
</li>
</ul> </ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment