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

Function parseTagDate

apps/sim/connectors/utils.ts:48–52  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

46 * Returns the Date if valid, undefined otherwise.
47 */
48export function parseTagDate(value: unknown): Date | undefined {
49 if (typeof value !== 'string') return undefined
50 const date = new Date(value)
51 return Number.isNaN(date.getTime()) ? undefined : date
52}
53
54/**
55 * Joins an array metadata value into a comma-separated string for tag mapping.

Callers 15

webflow.tsFile · 0.90
google-forms.tsFile · 0.90
azure-devops.tsFile · 0.90
confluence.tsFile · 0.90
grain.tsFile · 0.90
sentry.tsFile · 0.90
linear.tsFile · 0.90
fireflies.tsFile · 0.90
gmail.tsFile · 0.90
discord.tsFile · 0.90
airtable.tsFile · 0.90
asana.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected