Skip to content

Commit

Permalink
feat: formata no padrão AAAAMM, que é o mesmo do import
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsoncm committed Feb 12, 2024
1 parent 2fc62bd commit 7c47e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion competencias/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self, year: int, month: int):
self.date = date(year, month, 1)

def __str__(self):
return f"{self.date.year}/{self.date.month}"
return f"{self.as_int}"

@classmethod
def _validate(cls, value: date, datetype: Any) -> date:
Expand Down

0 comments on commit 7c47e59

Please sign in to comment.