2.0.1 • Published 1 month ago
@gabortorma/dayjs-business-days-hu v2.0.1
@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