Skip to content

Commit c4e518c

Browse files
authored
fix: typos for tommorow, yesterday (#694)
1 parent a7a3e0e commit c4e518c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pendulum/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,14 +244,14 @@ def today(tz: str | Timezone = "local") -> DateTime:
244244

245245
def tomorrow(tz: str | Timezone = "local") -> DateTime:
246246
"""
247-
Create a DateTime instance for today.
247+
Create a DateTime instance for tommorow.
248248
"""
249249
return today(tz).add(days=1)
250250

251251

252252
def yesterday(tz: str | Timezone = "local") -> DateTime:
253253
"""
254-
Create a DateTime instance for today.
254+
Create a DateTime instance for yesterday.
255255
"""
256256
return today(tz).subtract(days=1)
257257

0 commit comments

Comments
 (0)