Commit 6417af9d authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix timezone serialization.

parent 103313c3
Pipeline #37659 passed with stages
in 2 minutes and 44 seconds
......@@ -66,7 +66,7 @@ object Activity {
private fun now(): Literal {
return ResourceFactory.createTypedLiteral(
ZonedDateTime.now(ZoneId.of("UTC")).format(
DateTimeFormatter.ofPattern("YYYY-MM-dd'T'HH:mm:ssZ")
DateTimeFormatter.ofPattern("YYYY-MM-dd'T'HH:mm:ss'Z'")
).toString(), XSDDateTimeType("dateTime")
)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment