english-myanmar-date-converter
v1.0.5
Published
Convert English Date to Myanmar Date with require Font
Downloads
5
Readme
english-myanmar-date-converter
A Node.js package that returns Myanmar date in require font by giving English date.
Usage
First, install the package using npm:
npm install english-myanmar-date-converter --save
Then, require the package and use it like so:
var getMyanmarDate = require('english-myanmar-date-converter');
console.log(getMyanmarDate("2017-05-28",0)); // Myanmar Unicode Font
console.log(getMyanmarDate("2017-05-29",1)); // in English
console.log(getMyanmarDate("2017-05-30",2)); // Mon
console.log(getMyanmarDate("2017-05-31",3)); // Zawgyi-One Font
console.log(getMyanmarDate("2017-06-01")); // Zawgyi-One Font - Default
License
MIT