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

Function dateFormatInTimezone

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

Source from the content-addressed store, hash-verified

633};
634
635export const dateFormatInTimezone = (
636 date: Date,
637 format: string,
638 timezone?: string,
639): string => {
640 return formatInTimeZone(date, timezone || DEFAULT_TIMEZONE, format);
641};
642
643export const isSameDayInTimezone = (
644 date1: Date,

Callers 11

DayStreakFunction · 0.90
ImpressionsChartFunction · 0.90
ScheduledPostItemFunction · 0.90
toLocalFunction · 0.90
formatScheduledAtInputFunction · 0.90
useStreakRingStateFunction · 0.90
SquadAnalyticsPageFunction · 0.90
AnalyticsFunction · 0.90
PostAnalyticsPageFunction · 0.90
isSameDayInTimezoneFunction · 0.85

Calls

no outgoing calls

Tested by 1

toLocalFunction · 0.72