MCPcopy Create free account
hub / github.com/Open-Dev-Society/OpenStock / getFormattedTodayDate

Function getFormattedTodayDate

lib/utils.ts:149–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147};
148
149export const getFormattedTodayDate = () => new Date().toLocaleDateString('en-US', {
150 weekday: 'long',
151 year: 'numeric',
152 month: 'long',
153 day: 'numeric',
154 timeZone: 'UTC',
155});
156
157/**
158 * Maps Finnhub exchange suffixes to TradingView exchange prefixes.

Callers 1

functions.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected