Skip to content

Commit baa21f8

Browse files
authored
docs: clarify that the result of faker.date.betweens() is sorted (#2635)
1 parent 45b012e commit baa21f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/date/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ export class SimpleDateModule extends SimpleModuleBase {
409409
}
410410

411411
/**
412-
* Generates random dates between the given boundaries.
412+
* Generates random dates between the given boundaries. The dates will be returned in an array sorted in chronological order.
413413
*
414414
* @param options The optional options object.
415415
* @param options.from The early date boundary.

0 commit comments

Comments
 (0)