korbit-ai[bot] commented on code in PR #35506:
URL: https://github.com/apache/superset/pull/35506#discussion_r2429802891


##########
superset-frontend/src/explore/components/controls/ComparisonRangeLabel.tsx:
##########
@@ -144,7 +144,8 @@ export const ComparisonRangeLabel = ({
               );
               const startDateDayjs = extendedDayjs(parseDttmToDate(startDate));
               if (
-                startDateDayjs.isSameOrBefore(parsedDateDayjs) ||
+                startDateDayjs.isBefore(parsedDateDayjs) ||
+                startDateDayjs.isSame(parsedDateDayjs) ||

Review Comment:
   Understood. Given the TypeScript constraints, the current implementation is 
appropriate. Thank you for clarifying the plugin limitations.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to