diff options
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.java | 2 |
1 files changed, 1 insertions, 1 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 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()); |