Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwilliams committed Nov 25, 2024
1 parent 4fb318d commit 6ed7124
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions core/engine/src/builtins/temporal/plain_date/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -810,11 +810,6 @@ pub(crate) fn create_temporal_date(
// 1. If IsValidISODate(isoYear, isoMonth, isoDay) is false, throw a RangeError exception.
// 2. If ISODateTimeWithinLimits(isoYear, isoMonth, isoDay, 12, 0, 0, 0, 0, 0) is false, throw a RangeError exception.
let inner = InnerDate::try_new(iso_year, iso_month, iso_day, calendar_slot)?;
// if !DateTime::validate(&inner) {
// return Err(JsNativeError::range()
// .with_message("Date is not within ISO date time limits.")
// .into());
// }

// 3. If newTarget is not present, set newTarget to %Temporal.PlainDate%.
let new_target = if let Some(new_target) = new_target {
Expand Down

0 comments on commit 6ed7124

Please sign in to comment.