Formatear fechas y horas en un String para un datatable

Deseamos formatear una fecha para mostrarla en un datatable

En el formulario list.html

<b:dataTableColumn value="#{jmoordbNotificationsController.showDate(item.date)}" label="#{app['field.date']}"/>

En el Controller crear los métodos

Last updated

Was this helpful?