1.0.3 • Published 3 years ago
what-day-id v1.0.3
what-day-id
A simple javascript library to convert time to Indonesian date format
Installation
Using npm
$ npm install what-day-id
Using yarn
$ yarn add what-day-id
Example
const whatDayId = require("what-day-id");
const now = new Date();
// Take a Date object as an argument. Return a string of Indonesian date format
const date = whatDayId(now);
console.log(date);
// Jumat, 21 Mei 2021