Skip to content

Commit 582db81

Browse files
Fix time formatting
1 parent 87824f1 commit 582db81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/rutebanken/util/XmlDateTimeAdapter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public XmlDateTime unmarshal(String inputDate) {
5656
@Override
5757
public String marshal(XmlDateTime inputDate) {
5858
if(inputDate != null) {
59-
return formatter.format(inputDate.atZone(ZoneId.of("UTC")));
59+
return inputDate.toString();
6060
} else {
6161
return null;
6262
}

0 commit comments

Comments
 (0)