Skip to content

Commit e30aa85

Browse files
Use OFFSET_DATE_TIME formatter
1 parent 7963391 commit e30aa85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/rutebanken/time/XmlDateTime.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public boolean isLocal() {
4848
@Override
4949
public String toString() {
5050
if(zonedDateTime != null) {
51-
return zonedDateTime.format(DateTimeFormatter.ISO_DATE_TIME);
51+
return zonedDateTime.format(DateTimeFormatter.ISO_OFFSET_DATE_TIME);
5252
}
5353
else {
5454
return localDateTime.format(DateTimeFormatter.ISO_LOCAL_DATE_TIME);

0 commit comments

Comments
 (0)