@inflector/optima-pg 1.0.9 → 1.1.0

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/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -494,7 +494,10 @@ var Table = class {
494
494
  return [k, JSON.parse(v)];
495
495
  }
496
496
  if (typeof v === "string" && this.isPostgresTimestamp(v)) {
497
- return [k, v.replace(" ", "T").replace(/\+\d+(:\d+)?$/, "Z")];
497
+ return [
498
+ k,
499
+ v.replace(" ", "T").replace(/\.\d+/, "").replace(/\+\d+(:\d+)?$/, "Z")
500
+ ];
498
501
  }
499
502
  return [k, v];
500
503
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inflector/optima-pg",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "author": "Inflector",
6
6
  "main": "./dist/index.js",