UNPKG

laif-ds

Version:

Design System di Laif con componenti React basati su principi di Atomic Design

11 lines (10 loc) 299 B
"use client"; import { toDate as a } from "./toDate.js"; function c(r, e) { const t = a(r, e == null ? void 0 : e.in), l = t.getMonth(); return t.setFullYear(t.getFullYear(), l + 1, 0), t.setHours(0, 0, 0, 0), a(t, e == null ? void 0 : e.in); } export { c as default, c as lastDayOfMonth };