diff options
| author | Shinigami <[email protected]> | 2022-12-01 09:40:04 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-01 09:40:04 +0100 |
| commit | 0cec57153d9e97b609714e8d6a96e2ccfcedfc11 (patch) | |
| tree | a866a48eb45be0a753f99bfca619716a59c6db76 /src/modules/git/index.ts | |
| parent | c78cc3737e7bbca690449fa1e037f408dbbd9613 (diff) | |
| download | faker-0cec57153d9e97b609714e8d6a96e2ccfcedfc11.tar.xz faker-0cec57153d9e97b609714e8d6a96e2ccfcedfc11.zip | |
refactor(date)!: unify signatures (#1534)
Co-authored-by: Eric Cheng <[email protected]>
Diffstat (limited to 'src/modules/git/index.ts')
| -rw-r--r-- | src/modules/git/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/git/index.ts b/src/modules/git/index.ts index 2ea65063..31df2518 100644 --- a/src/modules/git/index.ts +++ b/src/modules/git/index.ts @@ -136,7 +136,7 @@ export class GitModule { const { refDate } = options; const dateParts = GIT_DATE_FORMAT_BASE.format( - this.faker.date.recent(1, refDate) + this.faker.date.recent({ days: 1, refDate }) ) .replace(/,/g, '') .split(' '); |
