aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-06 10:13:32 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-06 10:13:32 +0200
commitab855a376006dae483adc00baf968f2a87660d3a (patch)
treed4358d12af178e3d97d49a4111f3747266f3f809 /pdf-as-lib/src/main
parentcd45da1f83fa5682347e422910dbad8ce4392e69 (diff)
downloadpdf-as-4-ab855a376006dae483adc00baf968f2a87660d3a.tar.gz
pdf-as-4-ab855a376006dae483adc00baf968f2a87660d3a.tar.bz2
pdf-as-4-ab855a376006dae483adc00baf968f2a87660d3a.zip
allow date format overwrite
Diffstat (limited to 'pdf-as-lib/src/main')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java6
1 files changed, 3 insertions, 3 deletions
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"));