File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -748,14 +748,14 @@ export class ZonedDateTime {
748748 const calendar = GetSlot ( this , CALENDAR ) ;
749749 const fieldNames = ES . CalendarFields ( calendar , [ 'monthCode' , 'year' ] ) ;
750750 const fields = ES . ToTemporalYearMonthFields ( this , fieldNames ) ;
751- return calendar . yearMonthFromFields ( fields , { } ) ;
751+ return ES . YearMonthFromFields ( calendar , fields ) ;
752752 }
753753 toPlainMonthDay ( ) {
754754 if ( ! ES . IsTemporalZonedDateTime ( this ) ) throw new TypeError ( 'invalid receiver' ) ;
755755 const calendar = GetSlot ( this , CALENDAR ) ;
756756 const fieldNames = ES . CalendarFields ( calendar , [ 'day' , 'monthCode' ] ) ;
757757 const fields = ES . ToTemporalMonthDayFields ( this , fieldNames ) ;
758- return calendar . monthDayFromFields ( fields , { } ) ;
758+ return ES . MonthDayFromFields ( calendar , fields ) ;
759759 }
760760 getISOFields ( ) {
761761 if ( ! ES . IsTemporalZonedDateTime ( this ) ) throw new TypeError ( 'invalid receiver' ) ;
You can’t perform that action at this time.
0 commit comments