UNPKG

hijri-ma

Version:

```sh npm install ```

18 lines (14 loc) 362 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.parse = void 0; const { getMonthName } = require('./hijri'); const parse = (date, inArabic = true) => { const [day, month, year] = date.split('/'); const monthName = getMonthName(month, inArabic); return [day, monthName, year].join(' '); }; exports.parse = parse;