You can install this Chrome extension from the webstore at this link.
This Chrome extension replaces your new tab with the image seen above. There's no better way to familiarize yourself with Latin ordinal numbers, days of the week, and monthly dates than to see them every day!
Features:
- Roman year (ab urbe condita)
- Christian year
- Day of the week
- Select holidays
- Ordinal numbering
- Mācrōns everywhere (!)
- and of course the Latin monthly dating system
As a dev bonus, this repo now contains the most well-tested Latin date conversion utilities of any library anywhere - and in TypeScript, for maximum accessibility. You can read through it just to familiarize yourself with the Latin system. If there is interest I will break it out into a separate library.
Dates on the ides, nones and kalends are given in the ablative. Dates with ante are given in the accusative, so ante diem undecimum kalendas ianuarias. It's in the accusative because it expresses not the idea of being 'on' a certain day (like the ablative), but how long before the kalends it is. This system uses inclusive counting, so ad xi kal ian is 22nd Dec.
Dates one day before a key date are given with pridie and the accusative, e.g. pridie kalendas ianuarias.
Those rules taken verbatim from a post somewhere.
At the moment, this extension is not in the Chrome store. To use it, you'll have to follow the instructions below, but then you'll have it even when you are not running yarn dev
!
- Clone this repository.
- Run
yarn && yarn dev
in a terminal after navigating to the directory - Load Extension on Chrome
a. Open - Chrome browser
b. Access - chrome://extensions
c. Check - Developer mode
d. Find - Load unpacked extension
e. Select -
dist
folder in this project (after dev or build)
-
I relied heavily on ChatGPT to help me translate @nivek1985's sterling bash script into TS. I have used his work for several years - all credit to him for everything in this repo! tibi grātiās agō et agimus!
-
This website helped me make test cases.
-
Luke's posts here helped me find an off-by-one error.
-
Many thanks for extension boilerplate
Feel free to open PRs or raise issues!
A few notes to self on publishing this package.
- It's best to have
yarn dev
running to ensure the zip file created is of the latest compiled version. - Then a zip file can be made with just
zip -r latinDateZip dist
- The Chrome publishing process is trivially simple, just ensure no unnecessary permissions are present. Also, images can be resized (as they are required to have strict dimensions) by opening in Preview, then Tools, Adjust Size, uncheck Scale Proportionally.