MCPcopy Create free account
hub / github.com/dailydotdev/apps / dateFormatInTimezone

Function dateFormatInTimezone

packages/shared/src/lib/timezones.ts:613–619  ·  view source on GitHub ↗
(
  date: Date,
  format: string,
  timezone?: string,
)

Source from the content-addressed store, hash-verified

611};
612
613export const dateFormatInTimezone = (
614 date: Date,
615 format: string,
616 timezone?: string,
617): string => {
618 return formatInTimeZone(date, timezone || DEFAULT_TIMEZONE, format);
619};
620
621export const isSameDayInTimezone = (
622 date1: Date,

Callers 13

getDefaultScheduledStartFunction · 0.90
DayStreakFunction · 0.90
ImpressionsChartFunction · 0.90
getDefaultScheduledStartFunction · 0.90
ScheduledPostItemFunction · 0.90
toLocalFunction · 0.90
formatScheduledAtInputFunction · 0.90
useStreakRingStateFunction · 0.90
SquadAnalyticsPageFunction · 0.90
AnalyticsFunction · 0.90
PostAnalyticsPageFunction · 0.90

Calls

no outgoing calls

Tested by 1

toLocalFunction · 0.72