Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for 'isAllowed' test in VDPickerYears.spec.js #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 9, 2021

  1. Fix 'year' case in isBeforeDate() method

    The dayjs(date, 'YYYY-MM-DD').get('year') was failing to convert
    a number into a year.
    
    For example, if date = 2020, it would return 2019. It's necessary
    to pass a formated date to avoid this bad conversion.
    elyse0 committed Oct 9, 2021
    Configuration menu
    Copy the full SHA
    d6f5f06 View commit details
    Browse the repository at this point in the history