Skip to content

Commit

Permalink
Movendo import holidays para dentro da funcao
Browse files Browse the repository at this point in the history
  • Loading branch information
laistdomiciano committed Oct 30, 2024
1 parent 5c898a4 commit b86af1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions brutils/date_utils.py
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@

def is_holiday(target_date: datetime, uf: str = None) -> Union[bool, None]:
import holidays

"""
Checks if the given date is a national or state holiday in Brazil.

0 comments on commit b86af1f

Please sign in to comment.