OpenStock is an open-source alternative to expensive market platforms. Track real-time prices, set personalized alerts, and explore detailed company insights — built openly, for everyone, forever free.
Use exchange timezone for stock charts
keshav-005eae1dafb01cb
diff --git a/lib/constants.ts b/lib/constants.tsindex 640231e..db73c24 100644--- a/lib/constants.ts+++ b/lib/constants.ts@@ -195,7 +195,7 @@ export const CANDLE_CHART_WIDGET_CONFIG = (symbol: string) => ({style: 1,symbol: symbol.toUpperCase(),theme: 'dark',- timezone: 'Etc/UTC',+ timezone: 'exchange',backgroundColor: '#141414',gridColor: '#141414',watchlist: [],@@ -221,7 +221,7 @@ export const BASELINE_WIDGET_CONFIG = (symbol: string) => ({style: 10,symbol: symbol.toUpperCase(),theme: 'dark',- timezone: 'Etc/UTC',+ timezone: 'exchange',backgroundColor: '#141414',gridColor: '#141414',watchlist: [],@@ -337,4 +337,4 @@ export const WATCHLIST_TABLE_HEADER = ['P/E Ratio','Alert','Action',-];\ No newline at end of file+];