All rules

Weekday or month in lower case

calendar-name-caseon by defaultEnglish

A weekday or month written in lower case, as in "on monday"

Example

Flagged
The review is on monday, and the release follows in june.
What chaff prints
1:18 Write "monday" as "Monday" 1:53 Write "june" as "June"
Fixed
The review is on Monday, and the release follows in June.
What chaff prints
no finding

How to fix

Capitalise the first letter.

Why it matters

English always capitalises the names of the days and months (Monday, January). "On monday" reads as typed in a hurry or pasted from a chat, and splits a search from the capitalised form. It is a rule of English spelling, not a matter of style.

What it does not flag

Only in English documents. "may", "march" and "august", which are also ordinary words, and abbreviations (mon, jan) are not read. Code, and names inside a path, a tag or an address (monday.md, /june/, #friday, @sunday), and values in settings (day: monday, "monday", a cron field) are not read either.

Turning it off or relaxing it

Silence this one spot (in the document)
<!-- stet: calendar-name-case — reason -->
Relax it for the team (the reason is kept as a comment in chaff.yaml)
npx chaffjs relax calendar-name-case --why "reason"
Turn it off for the team (chaff.yaml)
rules: calendar-name-case: off
Technical details
Layer
L1
Status
stable
Severity
warning
Languages
en
Suited to
business, technical, blog, legal, docs, academic, literature, speech

Levels

Set a level for this rule under rules in chaff.yaml. With nothing set, it runs at the level its genre gives it (see By genre below).

stricterror
normalwarning
relaxedinfo

This rule has no limit to count to. A level sets how a finding is marked: relaxed keeps the finding and marks it a step lower.

By genre

Runs by default in
technical/spec, technical/readme, blog/tech, blog/essay, blog/owned-media, business/proposal, business/report, business/email, business/press-release, business/meeting-notes, legal/contract, legal/statute, legal/judgment, legal/patent, docs/manual, docs/faq, docs/glossary, academic/paper, literature/fiction, literature/essay, literature/poetry, literature/play, speech/address, speech/transcript

Genres

Message

Write "{written}" as "{usual}"

Rewrite depth (chaff fix-plan --depth): light — words and sentences; the structure and the voice stay

Sources

This page is built from the rule's definition file:packages/chaff/rules/calendar-name-case.yaml