From 009cf38adb893c2641608753ca774d6df9c0f79a Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sat, 26 Nov 2022 23:36:00 +0100 Subject: [PATCH] Format timestamps explicitely --- templates/visualize.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/visualize.html b/templates/visualize.html index 3fbb8d8..69770e4 100644 --- a/templates/visualize.html +++ b/templates/visualize.html @@ -53,6 +53,7 @@ // type: "quantitative", type: "temporal", //scale: { domain: [{{t.data[0][0]}}, {{t.data[-1][0]}}] }, + timeUnit: "yearmonthdatehoursminutes", }, y: { field: "v", type: "quantitative" }, },