@vurilo/nepali-date-picker
Version:
Nepali Calendars, date and time pickers based on Mantine components
8 lines (7 loc) • 531 B
TypeScript
import NepaliDate from "nepali-date-converter";
import { DayOfWeek } from "..";
export default NepaliDate;
export declare const getNepaliDate: (date: Date) => string;
export declare function isSameMonthNepali(date: Date, comparison: Date): boolean;
export declare function getMonthDaysNepali(month: Date, firstDayOfWeek?: DayOfWeek, timezone?: string | undefined): Date[][];
export declare const formatNepaliDate: (date: Date, monthLabelFormat?: string | ((month: Date) => React.ReactNode) | undefined, locale?: string) => string;