MCPcopy Create free account
hub / github.com/BrasilAPI/BrasilAPI / formatDate

Function formatDate

services/holidays/index.js:55–57  ·  view source on GitHub ↗

* @param Date date * @return string

(date)

Source from the content-addressed store, hash-verified

53 * @return string
54 */
55function formatDate(date) {
56 return date.toISOString().substr(0, 10);
57}
58
59/**
60 * Cálculo de feriados móveis baseados na Páscoa

Callers 1

getEasterHolidaysFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected