Convert local time to timezone.

This commit is contained in:
Mike Cao 2024-03-29 16:56:19 -07:00
parent 490e446481
commit a4d8afe516
6 changed files with 28 additions and 55 deletions

View file

@ -66,8 +66,8 @@ async function clickhouseQuery(
order by t
`,
params,
).then(a => {
return Object.values(a).map(a => {
).then(result => {
return Object.values(result).map(a => {
return { x: a.x, y: Number(a.y) };
});
});