Skip to content

Commit f65d042

Browse files
committed
Merge pull request #65 from ebourg/master
Test failure in DateTimeTest.testCustomPatternStyle with a non english locale
2 parents bb552d5 + aad50fd commit f65d042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/fasterxml/jackson/datatype/joda/DateTimeTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public DateAsText(DateTime d) {
2020

2121
static class CustomDate {
2222
// note: 'SS' means 'short representation'
23-
@JsonFormat(shape=JsonFormat.Shape.STRING, pattern="SS")
23+
@JsonFormat(shape=JsonFormat.Shape.STRING, pattern="SS", locale="en")
2424
public DateTime date;
2525

2626
public CustomDate(DateTime d) {

0 commit comments

Comments
 (0)