1.0.2 • Published 6 months ago
fullday v1.0.2
fullday
Este paquete es una combinacion con dayjs y vite.dev en la cual agregamos 3 metodos, las cuales son:
- formatDate
- isWeekend
- isValidDate
install
npm install fullday
examples
import fullday from "fullday";
const response = fullday.formatDate(new Date(), "DD/MM/YYYY");
console.log(response, "response");
const isValid = fullday.isValid(new Date());
console.log(isValid, "isValid");
const isWeekend = fullday.isWeekend(new Date());
console.log(isWeekend, "isWeekend");