fixed: crosshair time now uses timezone config

This commit is contained in:
DiTus
2026-03-02 09:15:04 +01:00
parent 3ffec846dc
commit cf190cf918

View File

@ -86,7 +86,7 @@ constructor() {
borderColor: '#363d4e', borderColor: '#363d4e',
autoScale: true, autoScale: true,
}, },
timeScale: { timeScale: {
borderColor: '#363d4e', borderColor: '#363d4e',
timeVisible: true, timeVisible: true,
secondsVisible: false, secondsVisible: false,
@ -96,6 +96,11 @@ timeScale: {
return TimezoneConfig.formatTickMark(time); return TimezoneConfig.formatTickMark(time);
}, },
}, },
localization: {
timeFormatter: (timestamp) => {
return TimezoneConfig.formatTickMark(timestamp);
},
},
handleScroll: { handleScroll: {
vertTouchDrag: false, vertTouchDrag: false,
}, },