mirror of
https://github.com/Open-Dev-Society/OpenStock.git
synced 2026-09-03 06:15:16 +08:00
Use exchange timezone for stock charts
This commit is contained in:
@@ -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',
|
||||
];
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user