Skip to content

Commit

Permalink
Fix error in min value of month_of_birth
Browse files Browse the repository at this point in the history
  • Loading branch information
nicarl committed Oct 22, 2021
1 parent a5e60d7 commit 05254bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faker/providers/ssn/fr_FR/__init__.py
Expand Up @@ -134,7 +134,7 @@ def ssn(self) -> str:
"""
gender_id = self.random_int(min=1, max=2)
year_of_birth = self.random_int(min=0, max=99)
month_of_birth = self.random_int(min=0, max=12)
month_of_birth = self.random_int(min=1, max=12)
department_and_municipality: Tuple[str, str, str, str] = self.random_element(
self.departments_and_municipalities,
)
Expand Down

0 comments on commit 05254bd

Please sign in to comment.