MCPcopy Create free account
hub / github.com/cloudquery/cloudquery / normalizeTimeZone

Function normalizeTimeZone

plugins/source/airtable/src/tables.ts:117–123  ·  view source on GitHub ↗
(timeZone: string)

Source from the content-addressed store, hash-verified

115};
116
117const normalizeTimeZone = (timeZone: string) => {
118 if (timeZone === 'client') {
119 // 'client' means Airtable uses the local timezone of the user to display the date, and stores it in UTC
120 return 'utc';
121 }
122 return timeZone;
123};
124
125const getColumnResolver = (field: APIField): ColumnResolver => {
126 switch (field.type) {

Callers 1

resolverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected