@cubejs-client/core 1.3.68 → 1.3.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cubejs-client-core.cjs.js +1 -1
- package/dist/cubejs-client-core.cjs.js.map +1 -1
- package/dist/cubejs-client-core.umd.js +1 -1
- package/dist/cubejs-client-core.umd.js.map +1 -1
- package/dist/src/ResultSet.d.ts.map +1 -1
- package/dist/src/time.js +1 -1
- package/dist/test/granularity.test.js +276 -0
- package/package.json +3 -3
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
var results = [];
|
|
128
128
|
var start = internalDayjs(from);
|
|
129
129
|
var end = internalDayjs(to);
|
|
130
|
-
while (start.isBefore(end) || start.isSame(end)) {
|
|
130
|
+
while (start.startOf(value).isBefore(end) || start.isSame(end)) {
|
|
131
131
|
results.push(start);
|
|
132
132
|
start = start.add(1, value);
|
|
133
133
|
}
|