1.0.1 • Published 9 years ago

romanday v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

romanDay.js

A simple Date to Roman date converter. Use as follows:

> Roman=require("romanday");
> Roman.day(new Date(2015,1,1)); //first of february; Kalendas Februariis annus 2015
'Kal. Feb. an. MMXV'
> Roman.day(new Date(2015,1,1),true); //expanded version
'Kalendae Februarius annus MMXV'

The converter for the expanded Roman date is still very wrong — the date above, feb. 1st 2015, should be Kalendis Februariis annus MMXV. But yeah.

> Roman=require("romanday");
> Roman.num(1234);
'MCCXXXIV'

That does work, though. day kind of depends on it, really.

1.0.1

9 years ago

1.0.0

9 years ago