aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main/java/at
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-08-25 11:24:21 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-08-25 11:24:21 +0200
commitbc8ff1b4ae42f1eed62ddc1f38bddfc7c420063a (patch)
tree59a05658cc6f05b2d33a9e6da4b4707090f9f3a5 /pdf-as-lib/src/main/java/at
parentc51b76729a569bdea8738e53daa5ffa823684fd7 (diff)
downloadpdf-as-4-bc8ff1b4ae42f1eed62ddc1f38bddfc7c420063a.tar.gz
pdf-as-4-bc8ff1b4ae42f1eed62ddc1f38bddfc7c420063a.tar.bz2
pdf-as-4-bc8ff1b4ae42f1eed62ddc1f38bddfc7c420063a.zip
Timestamp with Timezone offset
Diffstat (limited to 'pdf-as-lib/src/main/java/at')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java4
1 files changed, 2 insertions, 2 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 435ef5a3..4c145299 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
@@ -48,7 +48,7 @@ public class ValueResolver implements IProfileConstants, IResolver {
public static final String PatternRegex = "\\$(\\{[^\\$]*\\})";
- public static final String defaultDateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
+ public static final String defaultDateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX";
public static final String EXP_START = "${";
public static final String EXP_END = "}";
@@ -72,7 +72,7 @@ public class ValueResolver implements IProfileConstants, IResolver {
//}
// Value holds the date format!
SimpleDateFormat formater = new SimpleDateFormat(value);
- formater.setTimeZone(TimeZone.getTimeZone("UTC"));
+ //formater.setTimeZone(TimeZone.getTimeZone("UTC"));
Calendar cal = Calendar.getInstance();
return formater.format(cal.getTime());
}