Skip to content
Snippets Groups Projects
Unverified Commit a5ad20bd authored by Cam Saul's avatar Cam Saul
Browse files

SQL Server use getdate() instead of getutcdate()

[ci sqlserver]
parent 8ddbee2a
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,7 @@
(hx/format "yyyy-01-01" expr)))
(defmethod driver/date-interval :sqlserver [_ unit amount]
(date-add unit amount :%getutcdate))
(date-add unit amount :%getdate))
(defmethod sql.qp/unix-timestamp->timestamp [:sqlserver :seconds] [_ _ expr]
;; The second argument to DATEADD() gets casted to a 32-bit integer. BIGINT is 64 bites, so we tend to run into
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment