@malloydata/malloy 0.0.19-dev230106213501 → 0.0.19-dev230106235212
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/malloy.js +3 -3
- package/package.json +1 -1
package/dist/malloy.js
CHANGED
|
@@ -2085,13 +2085,13 @@ class DataTimestamp extends ScalarData {
|
|
|
2085
2085
|
return this._value;
|
|
2086
2086
|
}
|
|
2087
2087
|
else if (typeof this._value === "number") {
|
|
2088
|
-
return new Date(
|
|
2088
|
+
return new Date(this._value);
|
|
2089
2089
|
}
|
|
2090
2090
|
else if (typeof this._value !== "string") {
|
|
2091
2091
|
return new Date(this._value.value);
|
|
2092
2092
|
}
|
|
2093
2093
|
else {
|
|
2094
|
-
return new Date(
|
|
2094
|
+
return new Date(this._value);
|
|
2095
2095
|
}
|
|
2096
2096
|
}
|
|
2097
2097
|
get field() {
|
|
@@ -2112,7 +2112,7 @@ class DataDate extends ScalarData {
|
|
|
2112
2112
|
return new Date(this._value.value);
|
|
2113
2113
|
}
|
|
2114
2114
|
else {
|
|
2115
|
-
return new Date(
|
|
2115
|
+
return new Date(this._value);
|
|
2116
2116
|
}
|
|
2117
2117
|
}
|
|
2118
2118
|
get field() {
|