Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于数据查询结果集转Time类型错误 #8

Closed
go-xworkflow opened this issue Jun 20, 2018 · 2 comments
Closed

关于数据查询结果集转Time类型错误 #8

go-xworkflow opened this issue Jun 20, 2018 · 2 comments

Comments

@go-xworkflow
Copy link

@johng-cn 你好,我update了你最新的代码,使用的是postgresql数据库,时间字段的数据库类型是timestamp,数据库查询结果集转Time类型还是错误,我看了你最新的源代码,应该是时间类型的模板以及正则的使用有问题、我将我的这个时间类型的字段转String,都是类似这样的数据,“2018-02-09T20:33:18.814Z“,”2018-02-09T20:46:17.897Z”,另外该功能是否所有数据库都能支持,请将此功能在做一下完整的测试,谢谢。

@gqcn
Copy link
Member

gqcn commented Jun 21, 2018

你好,问题收到,目前只是在MySQL的时间日期类型上测试通过,没有测试PostgreSQL,看了你发的数据值,目前对ISODate类型还不支持,我今天会把支持加上去。

@gqcn
Copy link
Member

gqcn commented Jun 21, 2018

已改进,请更新最新版本代码后重试。

@gqcn gqcn closed this as completed Jun 21, 2018
gqcn pushed a commit that referenced this issue Apr 17, 2019
gqcn pushed a commit that referenced this issue Apr 19, 2019
Merge pull request #80 from wenzi1/master
gqcn pushed a commit that referenced this issue Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants