aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-23 10:12:09 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-23 10:12:09 +0200
commit85bec51b5763cd624b39c5fa86f19e9eddd8bff3 (patch)
tree7ed36a476d1459eaeaccc7e36441897a2be95546
parent29ad9ed4a2ab2743c78316c0adccaa532b7cd0a7 (diff)
downloadpdf-as-4-85bec51b5763cd624b39c5fa86f19e9eddd8bff3.tar.gz
pdf-as-4-85bec51b5763cd624b39c5fa86f19e9eddd8bff3.tar.bz2
pdf-as-4-85bec51b5763cd624b39c5fa86f19e9eddd8bff3.zip
Fixed ValueResolve timeZone variable
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java2
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());