@cubejs-backend/api-gateway
Advanced tools
Comparing version 0.10.24 to 0.10.34
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.10.34](https://github.com/statsbotco/cubejs-client/compare/v0.10.33...v0.10.34) (2019-09-06) | ||
### Bug Fixes | ||
* Athena timezone conversion issue for non-UTC server ([7085d2f](https://github.com/statsbotco/cubejs-client/commit/7085d2f)) | ||
## [0.10.24](https://github.com/statsbotco/cubejs-client/compare/v0.10.23...v0.10.24) (2019-08-16) | ||
@@ -8,0 +19,0 @@ |
@@ -66,3 +66,3 @@ const jwt = require('jsonwebtoken'); | ||
if (value && type === 'time') { | ||
return moment(value).format(moment.HTML5_FMT.DATETIME_LOCAL_MS); | ||
return (value instanceof Date ? moment(value) : moment.utc(value)).format(moment.HTML5_FMT.DATETIME_LOCAL_MS); | ||
} | ||
@@ -69,0 +69,0 @@ return value && value.value ? value.value : value; // TODO move to sql adapter |
@@ -5,3 +5,3 @@ { | ||
"author": "Statsbot, Inc.", | ||
"version": "0.10.24", | ||
"version": "0.10.34", | ||
"engines": { | ||
@@ -25,3 +25,3 @@ "node": ">=8.11.1" | ||
"license": "Apache-2.0", | ||
"gitHead": "e31a80c424f26b911aefbddb4130fb5ab516239c" | ||
"gitHead": "e26ad42bb0c876c5c7c9490c91efbcf9089a7441" | ||
} |
34217