We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2af708 commit 14f9397Copy full SHA for 14f9397
exts/jphp-zend-ext/src/main/tests/org/develnext/jphp/zend/ext/standard/date/DateFormatTest.java
@@ -64,11 +64,11 @@ public void monthAndDay() {
64
Pair.of("M d", "December 30"),
65
Pair.of("M d", "dec 30")
66
)
67
- .map(pair -> create(pair.getA(), pair.getB()))
+ .map(pair -> create(pair.getA(), pair.getB(), now))
68
.forEach(dateTime -> assertThat(dateTime)
69
.isEqualToIgnoringNanos(now.withMonth(12).withDayOfMonth(30)));
70
71
- assertThat(create("M d", "April 31"))
+ assertThat(create("M d", "April 31", now))
72
.isEqualToIgnoringNanos(now.withMonth(5).withDayOfMonth(1));
73
}
74
0 commit comments