2
0
Fork 0
mirror of https://github.com/ethauvin/rife2.git synced 2025-05-01 02:58:12 -07:00

Fixed date renderer in example

This commit is contained in:
Geert Bevin 2023-02-11 16:11:12 -05:00
parent bec71b913f
commit 8c70772fce

View file

@ -11,6 +11,6 @@ import java.time.LocalDateTime;
public class DateRenderer implements ValueRenderer {
public String render(Template template, String valueId, String differentiator) {
return RifeConfig.tools().getDefaultShortDateFormat().format(LocalDateTime.now());
return RifeConfig.tools().getDefaultShortDateTimeFormatter().format(LocalDateTime.now());
}
}