Skip to content

Commit

Permalink
Fixed duplicate word in comment in datetime.js (#1623)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ptitet committed May 17, 2024
1 parent cafc4ee commit 2008075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datetime.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 2008075

Please sign in to comment.