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 {
748
748
const calendar = GetSlot ( this , CALENDAR ) ;
749
749
const fieldNames = ES . CalendarFields ( calendar , [ 'monthCode' , 'year' ] ) ;
750
750
const fields = ES . ToTemporalYearMonthFields ( this , fieldNames ) ;
751
- return calendar . yearMonthFromFields ( fields , { } ) ;
751
+ return ES . YearMonthFromFields ( calendar , fields ) ;
752
752
}
753
753
toPlainMonthDay ( ) {
754
754
if ( ! ES . IsTemporalZonedDateTime ( this ) ) throw new TypeError ( 'invalid receiver' ) ;
755
755
const calendar = GetSlot ( this , CALENDAR ) ;
756
756
const fieldNames = ES . CalendarFields ( calendar , [ 'day' , 'monthCode' ] ) ;
757
757
const fields = ES . ToTemporalMonthDayFields ( this , fieldNames ) ;
758
- return calendar . monthDayFromFields ( fields , { } ) ;
758
+ return ES . MonthDayFromFields ( calendar , fields ) ;
759
759
}
760
760
getISOFields ( ) {
761
761
if ( ! ES . IsTemporalZonedDateTime ( this ) ) throw new TypeError ( 'invalid receiver' ) ;
You can’t perform that action at this time.
0 commit comments