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

Function formatDate

tests/cambio-v1.test.js:10–10  ·  view source on GitHub ↗
(date, format = 'DD/MM/YYYY')

Source from the content-addressed store, hash-verified

8dayjs.extend(timezone);
9
10const formatDate = (date, format = 'DD/MM/YYYY') => dayjs(date).format(format);
11
12describe('Cambio v1 (E2E)', () => {
13 describe('GET /cambio/v1/cotacao/:moeda/:data', () => {

Callers 1

cambio-v1.test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected