Skip to content

Commit 8b62638

Browse files
committed
remove moment.HTML5_FMT.DATETIME_LOCAL_MS in favor of just literal
1 parent fd9b309 commit 8b62638

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/cubejs-schema-compiler/src/adapter/CubeStoreQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class CubeStoreQuery extends BaseQuery {
4747
}
4848

4949
public timestampFormat() {
50-
return moment.HTML5_FMT.DATETIME_LOCAL_MS;
50+
return 'YYYY-MM-DDTHH:mm:ss.SSS';
5151
}
5252

5353
public dateTimeCast(value) {

packages/cubejs-schema-compiler/src/adapter/MysqlQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class MysqlQuery extends BaseQuery {
4343
}
4444

4545
public timestampFormat() {
46-
return moment.HTML5_FMT.DATETIME_LOCAL_MS;
46+
return 'YYYY-MM-DDTHH:mm:ss.SSS';
4747
}
4848

4949
public dateTimeCast(value) {

0 commit comments

Comments
 (0)