Skip to content

GaborTorma/dayjs-business-days-hu

Repository files navigation

@gabortorma/dayjs-business-days-hu

@reediculous456/dayjs-business-days with updated hungarian holidays and additional working days from 2010 to 2024.

Install

npm install @gabortorma/dayjs-business-days-hu

Import

import dayjs from '@gabortorma/dayjs-business-days-hu'

dayjs('2020-11-01').isHoliday() // true
dayjs('2020-10-15').isBusinessDay() // true

Import plugin options only

import { huOptions } from '@gabortorma/dayjs-business-days-hu/dist/options'

Usage

import dayjs from 'dayjs'
import dayjsBusinessDays from 'dayjs-business-days2'
import { huOptions } from '@gabortorma/dayjs-business-days-hu/dist/options'

dayjs.extend(dayjsBusinessDays, huOptions)

Usage Guide

See the original plugin: @reediculous456/dayjs-business-days

About

DayJS business days plugin with hungarian holidays

Resources

Stars

Watchers

Forks

Packages

No packages published