Skip to content

Commit b3406bb

Browse files
Merge pull request #72 from keshav-005/fix-35-tradingview-timezone
Fix stock chart timezone display
2 parents a114b00 + eae1daf commit b3406bb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/constants.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export const CANDLE_CHART_WIDGET_CONFIG = (symbol: string) => ({
195195
style: 1,
196196
symbol: symbol.toUpperCase(),
197197
theme: 'dark',
198-
timezone: 'Etc/UTC',
198+
timezone: 'exchange',
199199
backgroundColor: '#141414',
200200
gridColor: '#141414',
201201
watchlist: [],
@@ -221,7 +221,7 @@ export const BASELINE_WIDGET_CONFIG = (symbol: string) => ({
221221
style: 10,
222222
symbol: symbol.toUpperCase(),
223223
theme: 'dark',
224-
timezone: 'Etc/UTC',
224+
timezone: 'exchange',
225225
backgroundColor: '#141414',
226226
gridColor: '#141414',
227227
watchlist: [],
@@ -337,4 +337,4 @@ export const WATCHLIST_TABLE_HEADER = [
337337
'P/E Ratio',
338338
'Alert',
339339
'Action',
340-
];
340+
];

0 commit comments

Comments
 (0)