Skip to content

Fix add selection behavior when both arguments are dates#318

Open
salmonumbrella wants to merge 1 commit intoRoamJS:mainfrom
salmonumbrella:pr/issue-213
Open

Fix add selection behavior when both arguments are dates#318
salmonumbrella wants to merge 1 commit intoRoamJS:mainfrom
salmonumbrella:pr/issue-213

Conversation

@salmonumbrella
Copy link

@salmonumbrella salmonumbrella commented Feb 15, 2026

Fixes #213

  • What changed: Fixed add(date, date) behavior to compute a day-offset from the second date and apply it to the first date.
  • Why this fixes it: date+date selections now produce a meaningful shifted date instead of returning the second input unchanged.

@coderabbitai
Copy link

coderabbitai bot commented Feb 15, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"add" selection outputs date when passed DNP

1 participant

Comments