Posts by Pedro Soares • 41 points
1 post
-
4
votes2
answers11938
viewsA: Get national holidays
No API, only math calculation and library Moment js. function easterDay(y) { var c = Math.floor(y / 100); var n = y - 19 * Math.floor(y / 19); var k = Math.floor((c - 17) / 25); var i = c -…