diff options
Diffstat (limited to 'pdf-as-lib/src/main/java/at/gv/egiz/pdfas')
-rw-r--r-- | pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java | 4 |
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()); } |