Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BrasilAPI/BrasilAPI
/ getNow
Function
getNow
services/date.js:14–14 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
dayjs.tz.setDefault(
'America/Sao_Paulo'
);
13
14
export
const
getNow = () => dayjs();
15
16
export
const
formatDate = (date, format =
'DD/MM/YYYY'
) =>
17
dayjs(date).format(format);
Callers
3
Action
Function · 0.90
buildDate
Function · 0.90
getPixParticipants
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected