You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 31, 2020. It is now read-only.
I can't get any indication this plugin works with the latest or previous versions of moment.js. (I tried specifically using moment.js 2.0.0 as well as latest as of today).
Minimal case is:
<script src="js/moment.js"></script>
<script src="js/moment-holiday.js"></script>
<script>
var currentTime = moment();
console.log(currentTime); //Correct time shown
console.log('YOU: ' + currentTime.format("HH:mm DD-MM-YYYY")); //Correct time shown
var holiday = moment().isHoliday(null, true); //moment(...).isHoliday is not a function
</script>```