aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sources/master/history_update.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/master/history_update.sql b/sources/master/history_update.sql
index 4aabb21..609d340 100644
--- a/sources/master/history_update.sql
+++ b/sources/master/history_update.sql
@@ -10,5 +10,5 @@
ATTACH DATABASE '__DIR__/taginfo-master.db' AS master;
-INSERT INTO history_stats (udate, key, value) SELECT datetime('now'), key, value FROM master.master_stats;
+INSERT INTO history_stats (udate, key, value) SELECT substr(datetime('now'), 1, 10), key, value FROM master.master_stats;