From 2008075eb759d0f2c0dd9c3a9b7cb82971cd1a24 Mon Sep 17 00:00:00 2001 From: Le Michel <95184938+Ptitet@users.noreply.github.com> Date: Fri, 17 May 2024 18:46:43 +0200 Subject: [PATCH] Fixed duplicate word in comment in datetime.js (#1623) --- src/datetime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datetime.js b/src/datetime.js index 09a389e7b..13b18a592 100644 --- a/src/datetime.js +++ b/src/datetime.js @@ -690,7 +690,7 @@ export default class DateTime { `fromMillis requires a numerical input, but received a ${typeof milliseconds} with value ${milliseconds}` ); } else if (milliseconds < -MAX_DATE || milliseconds > MAX_DATE) { - // this isn't perfect because because we can still end up out of range because of additional shifting, but it's a start + // this isn't perfect because we can still end up out of range because of additional shifting, but it's a start return DateTime.invalid("Timestamp out of range"); } else { return new DateTime({