weekday tooltip

This commit is contained in:
Chris Amow 2026-08-16 21:15:01 -05:00
parent 73beae051a
commit ae596ebf8e

View file

@ -184,8 +184,8 @@ class ConfluenceChart {
timeFormatter: time => { timeFormatter: time => {
const daily = this.bars[0]?.tf === '1d'; const daily = this.bars[0]?.tf === '1d';
return new Date(time * 1000).toLocaleString(undefined, daily return new Date(time * 1000).toLocaleString(undefined, daily
? { timeZone: 'UTC', year: 'numeric', month: 'short', day: 'numeric' } ? { timeZone: 'UTC', weekday: 'short', year: 'numeric', month: 'short', day: 'numeric' }
: { hour12: false, month: 'short', day: 'numeric', hour: '2-digit', minute: '2-digit' }); : { weekday: 'short', hour12: false, month: 'short', day: 'numeric', hour: '2-digit', minute: '2-digit' });
}, },
}, },
rightPriceScale: { borderVisible: false }, rightPriceScale: { borderVisible: false },