Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

isHoliday() doesn't work #50

Open
BenjaminCrozier opened this issue Sep 29, 2020 · 0 comments
Open

isHoliday() doesn't work #50

BenjaminCrozier opened this issue Sep 29, 2020 · 0 comments

Comments

@BenjaminCrozier
Copy link

import holiday from "moment-holiday";

console.log(
      holiday().holiday('Thanksgiving')._d,
      holiday().holiday('Thanksgiving').isHoliday(),
      holiday().holiday('Thanksgiving').isHoliday('Thanksgiving')
    );
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant