Skip to content

Commit

Permalink
be even more explicit about datetime checking.
Browse files Browse the repository at this point in the history
  • Loading branch information
agilliland committed Mar 9, 2016
1 parent 4106433 commit 9c166ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metabase/pulse.clj
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
[_ {:keys [rows cols]}]
(let [xs (for [row rows
:let [x (first row)]]
(if (string? x)
(if (datetime-field? (first cols))
(.getTime ^Date (u/->Timestamp x))
x))
xmin (apply min xs)
Expand Down

0 comments on commit 9c166ff

Please sign in to comment.