Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(date): adjust to our standard implementation #1589

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

ST-DDT
Copy link
Member

@ST-DDT ST-DDT commented Nov 22, 2022

This PR changes the impl of faker.date.month and faker.date.weekday to

  • follow our usual code style with default {} options
  • and use const deconstructors with defaults.

@ST-DDT ST-DDT added c: chore PR that doesn't affect the runtime behavior p: 1-normal Nothing urgent m: date Something is referring to the date module labels Nov 22, 2022
@ST-DDT ST-DDT requested review from a team November 22, 2022 10:35
@ST-DDT ST-DDT self-assigned this Nov 22, 2022
@codecov
Copy link

codecov bot commented Nov 22, 2022

Codecov Report

Merging #1589 (54865c6) into next (6e1009a) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #1589   +/-   ##
=======================================
  Coverage   99.63%   99.63%           
=======================================
  Files        2220     2220           
  Lines      238959   238957    -2     
  Branches     1039     1035    -4     
=======================================
- Hits       238097   238095    -2     
  Misses        841      841           
  Partials       21       21           
Impacted Files Coverage Δ
src/modules/date/index.ts 99.13% <100.00%> (-0.01%) ⬇️

@ST-DDT ST-DDT added the s: accepted Accepted feature / Confirmed bug label Nov 22, 2022
@ST-DDT ST-DDT requested review from a team November 22, 2022 23:33
@Shinigami92 Shinigami92 merged commit ae7b3ca into next Nov 23, 2022
@Shinigami92 Shinigami92 deleted the chore/date/standardize-impl branch November 23, 2022 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: chore PR that doesn't affect the runtime behavior m: date Something is referring to the date module p: 1-normal Nothing urgent s: accepted Accepted feature / Confirmed bug
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants