Skip to content

Commit aad50fd

Browse files
committed
Fixed the DateTimeTest.testCustomPatternStyle failure with a non english locale
1 parent bb552d5 commit aad50fd

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

Lines changed: 1 addition & 1 deletion
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)