MCPcopy 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

12dayjs.tz.setDefault('America/Sao_Paulo');
13
14export const getNow = () => dayjs();
15
16export const formatDate = (date, format = 'DD/MM/YYYY') =>
17 dayjs(date).format(format);

Callers 3

ActionFunction · 0.90
buildDateFunction · 0.90
getPixParticipantsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected