From 49cfa9d4daab850129b2c77b38f61c13ffe047b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Juli=C3=A1n=20Espina?= Date: Fri, 5 Jul 2024 10:36:08 -0600 Subject: [PATCH] fix bug --- core/engine/src/builtins/temporal/plain_date_time/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/engine/src/builtins/temporal/plain_date_time/mod.rs b/core/engine/src/builtins/temporal/plain_date_time/mod.rs index 3a5134f8eb4..28b312ab538 100644 --- a/core/engine/src/builtins/temporal/plain_date_time/mod.rs +++ b/core/engine/src/builtins/temporal/plain_date_time/mod.rs @@ -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`