Skip to content

Commit

Permalink
fix: typos for tommorow, yesterday (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
asomethings authored Jun 10, 2023
1 parent a7a3e0e commit c4e518c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pendulum/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,14 +244,14 @@ def today(tz: str | Timezone = "local") -> DateTime:

def tomorrow(tz: str | Timezone = "local") -> DateTime:
"""
Create a DateTime instance for today.
Create a DateTime instance for tommorow.
"""
return today(tz).add(days=1)


def yesterday(tz: str | Timezone = "local") -> DateTime:
"""
Create a DateTime instance for today.
Create a DateTime instance for yesterday.
"""
return today(tz).subtract(days=1)

Expand Down

0 comments on commit c4e518c

Please sign in to comment.