romanday

1.0.1 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i romanday

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • tomsmeding