From ab855a376006dae483adc00baf968f2a87660d3a Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Mon, 6 Oct 2014 10:13:32 +0200 Subject: allow date format overwrite --- .../main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pdf-as-lib/src/main/java/at/gv/egiz/pdfas') diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java index 133995ba..fc3ffef3 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java @@ -66,9 +66,9 @@ public class ValueResolver implements IProfileConstants, IResolver { logger.debug("Resolving value with value: " + value); if (key.equals(SIG_DATE)) { - //if (value == null) { - value = defaultDateFormat; - //} + if (value == null) { + value = defaultDateFormat; + } // Value holds the date format! SimpleDateFormat formater = new SimpleDateFormat(value); //formater.setTimeZone(TimeZone.getTimeZone("UTC")); -- cgit v1.2.3