Skip to content

Commit

Permalink
Correct time method binding
Browse files Browse the repository at this point in the history
  • Loading branch information
nekevss committed Jul 18, 2024
1 parent df5d6cc commit 615845f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/engine/src/builtins/temporal/plain_time/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ impl IntrinsicObject for PlainTime {
.static_method(Self::from, js_string!("from"), 2)
.method(Self::add, js_string!("add"), 1)
.method(Self::subtract, js_string!("subtract"), 1)
.method(Self::until, js_string!("subtract"), 2)
.method(Self::since, js_string!("subtract"), 2)
.method(Self::until, js_string!("until"), 2)
.method(Self::since, js_string!("since"), 2)
.method(Self::round, js_string!("round"), 1)
.method(Self::equals, js_string!("equals"), 1)
.method(Self::get_iso_fields, js_string!("getISOFields"), 0)
Expand Down

0 comments on commit 615845f

Please sign in to comment.