Skip to content

Commit 88ce689

Browse files
committed
Random.date(): fix incorrect date in range.
Correction for c505b03 commit. Addressed to #764
1 parent 0acabfc commit 88ce689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/ru/mystamps/web/tests/Random.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static Date date() {
7676
try {
7777

7878
SimpleDateFormat fmt = new SimpleDateFormat("yyyy-MM-dd");
79-
return between(fmt.parse("2017-01-01"), fmt.parse("2017-21-20")).date();
79+
return between(fmt.parse("2017-01-01"), fmt.parse("2017-12-20")).date();
8080

8181
} catch (ParseException e) {
8282
throw new RuntimeException(e);

0 commit comments

Comments
 (0)