Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Jul 5, 2024
1 parent 16e915e commit 49cfa9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/engine/src/builtins/temporal/plain_date_time/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ impl PlainDateTime {
.into());
};

Ok(date.inner.day_of_week()?.into())
Ok(date.inner.day_of_year()?.into())
}

/// 5.3.16 get `Temporal.PlainDateTime.prototype.weekOfYear`
Expand Down

0 comments on commit 49cfa9d

Please sign in to comment.