@malloydata/malloy 0.0.179-dev240904021440 → 0.0.179-dev240904142243

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.
Files changed (2) hide show
  1. package/dist/malloy.js +4 -1
  2. package/package.json +1 -1
package/dist/malloy.js CHANGED
@@ -2600,7 +2600,10 @@ function valueToDate(value) {
2600
2600
  // which represents the same instant in time, but we don't have the data
2601
2601
  // flow to implement that. This may be a problem at some future day,
2602
2602
  // so here is a comment, for that day.
2603
- const parsed = luxon_1.DateTime.fromISO(value, { zone: 'UTC' });
2603
+ let parsed = luxon_1.DateTime.fromISO(value, { zone: 'UTC' });
2604
+ if (!parsed.isValid) {
2605
+ parsed = luxon_1.DateTime.fromSQL(value, { zone: 'UTC' });
2606
+ }
2604
2607
  return parsed.toJSDate();
2605
2608
  }
2606
2609
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy",
3
- "version": "0.0.179-dev240904021440",
3
+ "version": "0.0.179-dev240904142243",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",