Стандартизирован вид даты в подсказке графиков телеметрии

This commit is contained in:
goodmice 2022-10-06 15:14:01 +05:00
parent 70a04ad228
commit 836bcd583d
No known key found for this signature in database
GPG Key ID: 63EA771203189CF1

View File

@ -39,7 +39,7 @@ const { Option } = Select
export const yAxis = {
type: 'time',
accessor: (d) => new Date(d.date),
format: (d) => formatDate(d, undefined, 'YYYY-MM-DD HH:mm:ss'),
format: (d) => formatDate(d, undefined, 'DD.MM.YYYY HH:mm:ss'),
}
const dash = [7, 3]