MCPcopy Index your code
hub / github.com/simstudioai/sim / formatGmailDate

Function formatGmailDate

apps/sim/connectors/gmail/gmail.ts:135–140  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

133}
134
135function formatGmailDate(date: Date): string {
136 const y = date.getFullYear()
137 const m = String(date.getMonth() + 1).padStart(2, '0')
138 const d = String(date.getDate()).padStart(2, '0')
139 return `${y}/${m}/${d}`
140}
141
142/**
143 * Decodes base64url-encoded content from the Gmail API.

Callers 1

buildSearchQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected