rgviz 0.44 → 0.45
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rgviz/memory_executor.rb +2 -1
- data/lib/rgviz/nodes.rb +1 -1
- metadata +1 -1
@@ -471,7 +471,8 @@ module Rgviz
|
|
471
471
|
when Integer
|
472
472
|
seconds = @value / 1000
|
473
473
|
millis = @value % 1000
|
474
|
-
@value = Time.
|
474
|
+
@value = Time.utc 1970, 1, 1, 0, 0, 0
|
475
|
+
@value += seconds + millis / 1000.0
|
475
476
|
@value = Date.civil @value.year, @value.month, @value.day
|
476
477
|
end
|
477
478
|
end
|
data/lib/rgviz/nodes.rb
CHANGED
@@ -38,7 +38,7 @@ module Rgviz
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
str << "where #{where} " if where
|
41
|
-
str << "
|
41
|
+
str << "group by #{group_by} " if group_by
|
42
42
|
str << "pivot #{pivot} " if pivot
|
43
43
|
str << "order by #{order_by} " if order_by
|
44
44
|
str << "limit #{limit} " if limit
|