We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7963391 commit e30aa85Copy full SHA for e30aa85
src/main/java/org/rutebanken/time/XmlDateTime.java
@@ -48,7 +48,7 @@ public boolean isLocal() {
48
@Override
49
public String toString() {
50
if(zonedDateTime != null) {
51
- return zonedDateTime.format(DateTimeFormatter.ISO_DATE_TIME);
+ return zonedDateTime.format(DateTimeFormatter.ISO_OFFSET_DATE_TIME);
52
}
53
else {
54
return localDateTime.format(DateTimeFormatter.ISO_LOCAL_DATE_TIME);
0 commit comments