postgres-date:Postgres日期列解析器

时间:2021-05-06 16:48:11
【文件属性】:
文件名称:postgres-date:Postgres日期列解析器
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-06 16:48:11
JavaScript 事后日期 Postgres日期输出解析器 该软件包将Postgres的解析为Javascript Date对象。 其目标是匹配Postgres行为并保持数据准确性。 如果您发现有效的Postgres输出导致解析错误(包括精度损失)的情况,请并提供失败的测试。 支持的Postgres版本: >= 9.6 所有以前的Postgres版本都可能兼容,但未得到官方支持。 安装 npm install --save postgres-date 用法 const parse = require ( 'postgres-date' ) parse ( '2011-01-23 22:15:51Z' ) // => 2011-01-23T22:15:51.000Z 原料药 parse(isoDate) -> date isoDate 必需的类型: string 来自Postgres的日期字符串。
【文件预览】:
postgres-date-master
----.gitignore(13B)
----package.json(603B)
----index.js(6KB)
----test.js(2KB)
----.github()
--------workflows()
--------dependabot.yml(143B)
----license(1KB)
----readme.md(1KB)
----.gitattributes(12B)
----.editorconfig(188B)

网友评论