Skip to content

Commit

Permalink
Temporal: Fix name of constructor
Browse files Browse the repository at this point in the history
I mistakenly committed something slightly different in my code review
suggestion than what I had modified locally.
  • Loading branch information
ptomato authored and Ms2ger committed Nov 8, 2024
1 parent e7024c1 commit e9183d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ features: [Temporal]

// Based on a test case by Adam Shaw

const dur = new Temporal.Duration.from(0, 0, 0, 0, /* hours = */ 13, 0, 0, 0, 0, 0);
const dur = new Temporal.Duration(0, 0, 0, 0, /* hours = */ 13, 0, 0, 0, 0, 0);
const zdt = new Temporal.ZonedDateTime(0n, "UTC");

TemporalHelpers.assertDuration(
Expand Down

0 comments on commit e9183d8

Please sign in to comment.