Skip to content

Commit

Permalink
Merged in bugfix/shibui-1699 (pull request #605)
Browse files Browse the repository at this point in the history
SHIBUI-1699

Approved-by: Dmitriy Kopylenko
Approved-by: Bill Smith
  • Loading branch information
chasegawa committed Aug 30, 2022
2 parents 1d81472 + e77c642 commit 6c29611
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ public class Version implements Serializable {

private String creator;

@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS")
private ZonedDateTime date;

private static final long serialVersionUID = 3429591830989243421L;

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class VersionJsonSerializationBasicTests extends Specification {
{
"id": "2",
"creator": "kramer",
"date": "2019-05-20T15:00:00.574Z"
"date": "2019-05-20T15:00:00.574000"
}
"""
def expectedJsonMap = jsonSlurper.parseText(expectedJson)
Expand All @@ -40,4 +40,4 @@ class VersionJsonSerializationBasicTests extends Specification {
deSerializedJsonMap.id == expectedJsonMap.id
deSerializedJsonMap.creator == expectedJsonMap.creator
}
}
}

0 comments on commit 6c29611

Please sign in to comment.