Skip to content

feat: till date→to date - #3706

Merged
hippietrail merged 3 commits into
Automattic:masterfrom
hippietrail:till-date
Jul 17, 2026
Merged

feat: till date→to date#3706
hippietrail merged 3 commits into
Automattic:masterfrom
hippietrail:till-date

Conversation

@hippietrail

Copy link
Copy Markdown
Collaborator

Issues

N/A

Description

"Till date" is a very common Indianism for "to date" in common English.

It's sometimes spelled with a single "l" or with an apostrophe at the beginning or end.

There are some phrases where it could be a false positive if just blindly flagged: "good till date" is used in finance and "valid till date" is used for a date when something expires.

Currently it is never flagged when the selected dialect is "Indian" but perhaps even in Indian English it's not always considered correct, in which case maybe there should be a setting as well, but I don't think that's possible yet.

How Has This Been Tested?

cargo test

AI Disclosure

  • I am a human and didn't use any AI.
  • I used LLM features of my editor, but not an agent.
  • I used an AI agent interactively.
  • I am an agent or I got an agent to do the work autonomously.

I used an online AI to get ideas for Rusty ways to check the preceding tokens to exit early.

If Your PR Implements or Enhances a Linter

  • I made up the sentences in the unit tests.
  • The sentences in the unit tests were generated by an AI.
  • I'm using examples from the bug report / feature request.
  • I collected real-world sentences for the unit tests.

Checklist

  • I have performed a self-review of my own code
  • I have added tests to cover my changes
  • I have considered splitting this into smaller pull requests.

@hippietrail hippietrail added the linting Related to lint rules and linter execution label Jun 24, 2026
@hippietrail
hippietrail enabled auto-merge July 7, 2026 07:47
@hippietrail
hippietrail added this pull request to the merge queue Jul 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 16, 2026
@hippietrail
hippietrail added this pull request to the merge queue Jul 17, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 17, 2026
@hippietrail
hippietrail added this pull request to the merge queue Jul 17, 2026
Merged via the queue into Automattic:master with commit 08f4996 Jul 17, 2026
12 checks passed
@hippietrail
hippietrail deleted the till-date branch July 17, 2026 04:37
elijah-potter added a commit that referenced this pull request Jul 28, 2026
Co-authored-by: Elijah Potter <me@elijahpotter.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linting Related to lint rules and linter execution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants