Skip to content

Commit b205a72

Browse files
committed
Fix CalendarDate.now() not returning a CalendarDate
adsf calendar date
1 parent 3026096 commit b205a72

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/common/temporal/calendar-date.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ export class CalendarDate
9292
return CalendarDate.fromDateTime(super.invalid(reason));
9393
}
9494

95+
static now() {
96+
return CalendarDate.local();
97+
}
98+
9599
static local(
96100
year: number,
97101
month: number,

0 commit comments

Comments
 (0)