Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
8
dayjs.extend(timezone);
9
10
const
formatDate = (date, format =
'DD/MM/YYYY'
) => dayjs(date).format(format);
11
12
describe(
'Cambio v1 (E2E)'
, () => {
13
describe(
'GET /cambio/v1/cotacao/:moeda/:data'
, () => {
Callers
1
cambio-v1.test.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected