@cubejs-backend/shared
Advanced tools
Comparing version 0.28.22 to 0.28.24
@@ -6,2 +6,14 @@ # Change Log | ||
## [0.28.24](https://github.com/cube-js/cube.js/compare/v0.28.23...v0.28.24) (2021-08-19) | ||
### Features | ||
* Added Quarter to the timeDimensions of ([3f62b2c](https://github.com/cube-js/cube.js/commit/3f62b2c125b2b7b752e370b65be4c89a0c65a623)) | ||
* Support quarter granularity ([4ad1356](https://github.com/cube-js/cube.js/commit/4ad1356ac2d2c4d479c25e60519b0f7b4c1605bb)) | ||
## [0.28.22](https://github.com/cube-js/cube.js/compare/v0.28.21...v0.28.22) (2021-08-17) | ||
@@ -8,0 +20,0 @@ |
@@ -21,3 +21,5 @@ "use strict"; | ||
week: (range) => Array.from(range.snapTo('isoWeek').by('week')) | ||
.map(d => [d.startOf('isoWeek').format('YYYY-MM-DDT00:00:00.000'), d.endOf('isoWeek').format('YYYY-MM-DDT23:59:59.999')]) | ||
.map(d => [d.startOf('isoWeek').format('YYYY-MM-DDT00:00:00.000'), d.endOf('isoWeek').format('YYYY-MM-DDT23:59:59.999')]), | ||
quarter: (range) => Array.from(range.snapTo('quarter').by('quarter')) | ||
.map(d => [d.format('YYYY-MM-DDT00:00:00.000'), d.endOf('quarter').format('YYYY-MM-DDT23:59:99.999')]), | ||
}; | ||
@@ -24,0 +26,0 @@ const timeSeries = (granularity, dateRange) => { |
{ | ||
"name": "@cubejs-backend/shared", | ||
"version": "0.28.22", | ||
"version": "0.28.24", | ||
"description": "Shared code for Cube.js backend packages", | ||
@@ -68,3 +68,3 @@ "main": "dist/src/index.js", | ||
}, | ||
"gitHead": "fb6e7ca2cff5260557440b4f66b7a791da414e15" | ||
"gitHead": "4fd57f9805fb1e89c19436eff24822607f98183b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
133690
1381