Skip to content

Commit

Permalink
Adjust call to correct method (#4096)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekevss authored Dec 25, 2024
1 parent 68e6d49 commit 71c6e7b
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 @@ -840,7 +840,7 @@ impl PlainDateTime {
let options = get_options_object(args.get_or_undefined(1))?;
let settings = get_difference_settings(&options, context)?;

create_temporal_duration(dt.inner.until(&other, settings)?, None, context).map(Into::into)
create_temporal_duration(dt.inner.since(&other, settings)?, None, context).map(Into::into)
}

// TODO(nekevss): finish after temporal_rs impl
Expand Down

0 comments on commit 71c6e7b

Please sign in to comment.