@malloydata/malloy 0.0.230 → 0.0.231-dev250117030805
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.
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.TimezoneStatement = void 0;
|
|
26
26
|
const malloy_element_1 = require("../types/malloy-element");
|
|
27
|
+
const luxon_1 = require("luxon");
|
|
27
28
|
class TimezoneStatement extends malloy_element_1.MalloyElement {
|
|
28
29
|
constructor(tz) {
|
|
29
30
|
super();
|
|
@@ -34,7 +35,7 @@ class TimezoneStatement extends malloy_element_1.MalloyElement {
|
|
|
34
35
|
}
|
|
35
36
|
get isValid() {
|
|
36
37
|
try {
|
|
37
|
-
|
|
38
|
+
luxon_1.DateTime.fromISO('2020-02-19T00:00:00', { zone: this.tz });
|
|
38
39
|
return true;
|
|
39
40
|
}
|
|
40
41
|
catch {
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MALLOY_VERSION = "0.0.
|
|
1
|
+
export declare const MALLOY_VERSION = "0.0.231";
|
package/dist/version.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MALLOY_VERSION = void 0;
|
|
4
4
|
// generated with 'generate-version-file' script; do not edit manually
|
|
5
|
-
exports.MALLOY_VERSION = '0.0.
|
|
5
|
+
exports.MALLOY_VERSION = '0.0.231';
|
|
6
6
|
//# sourceMappingURL=version.js.map
|