diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-23 10:12:09 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-23 10:12:09 +0200 |
commit | 85bec51b5763cd624b39c5fa86f19e9eddd8bff3 (patch) | |
tree | 7ed36a476d1459eaeaccc7e36441897a2be95546 /pdf-as-lib/src/main/java | |
parent | 29ad9ed4a2ab2743c78316c0adccaa532b7cd0a7 (diff) | |
download | pdf-as-4-85bec51b5763cd624b39c5fa86f19e9eddd8bff3.tar.gz pdf-as-4-85bec51b5763cd624b39c5fa86f19e9eddd8bff3.tar.bz2 pdf-as-4-85bec51b5763cd624b39c5fa86f19e9eddd8bff3.zip |
Fixed ValueResolve timeZone variable
Diffstat (limited to 'pdf-as-lib/src/main/java')
-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()); |