Skip to content

Instantly share code, notes, and snippets.

View chemparparokke's full-sized avatar
🎯
Focusing

chemparparokke

🎯
Focusing
View GitHub Profile
//## Moment.JS Russian Holidays Plugin
//
//Usage:
// Call .holiday() from any moment object. If date is a RU Federal Holiday, name of the holiday will be returned.
// Otherwise, return nothing.
//
// Example:
// `moment('08.03.2018').holiday()` will return "Международный женский день"
//
//Holidays: