From f9917c4a656ea715e0aae9de8022c64933826964 Mon Sep 17 00:00:00 2001 From: Isaac Cambron Date: Tue, 13 Dec 2022 09:33:44 -0500 Subject: [PATCH] clarify equality docstring --- src/datetime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datetime.js b/src/datetime.js index a9beffeda..35474590e 100644 --- a/src/datetime.js +++ b/src/datetime.js @@ -1926,7 +1926,7 @@ export default class DateTime { /** * Equality check - * Two DateTimes are equal iff they represent the same millisecond, have the same zone and location, and are both valid. + * Two DateTimes are equal if and only if they represent the same millisecond, have the same zone and location, and are both valid. * To compare just the millisecond values, use `+dt1 === +dt2`. * @param {DateTime} other - the other DateTime * @return {boolean}