From 85bec51b5763cd624b39c5fa86f19e9eddd8bff3 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Thu, 23 Oct 2014 10:12:09 +0200 Subject: Fixed ValueResolve timeZone variable --- .../src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf-as-lib/src/main/java/at/gv/egiz') 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 fd7bb0dd..c38756db 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 @@ -77,7 +77,7 @@ public class ValueResolver implements IProfileConstants, IResolver { String timeZone = settings.getProfileTimeZone(); if(timeZone != null) { - fdf.setTimeZone(TimeZone.getTimeZone("timeZone")); + fdf.setTimeZone(TimeZone.getTimeZone(timeZone)); } Calendar cal = Calendar.getInstance(); return fdf.format(cal.getTime()); -- cgit v1.2.3