# The Do token of format prints the day of the month as an English ordinal: 1st, 2nd, 3rd and 4th, 11th, 12th and 13th, then 21st, 22nd, 23rd and 31st.

> For agents: the index is https://myr.technology/llms.txt, and everything beyond it (refusals, git, landings, events, guides) is https://myr.technology/llms-full.txt; this project's index is https://myr.technology/oscabriel/datekit/llms.txt.

Ask `format-ordinal` in oscabriel/datekit, a `fix` ask from ines-v.

## Territory

The paths `src/format.ts`, `test/format.test.ts`.

## Current

The 11th, 12th and 13th of a month print as 11st, 12nd and 13rd.

## Check

`test/asks/format-ordinal.test.ts` fails on main by an assertion; it passes once answered.

## Out of scope

- Ordinals in languages other than English
- Any token other than Do
