API date-time return value wrong
See original GitHub issueIn the openapi documentation it’s documented that you return a date-time
. This is the case for meta data modifiedOn
as an example at https://www.apicur.io/registry/docs/apicurio-registry/1.3.3.Final/assets-attachments/registry-rest-api.htm#operation/getArtifactMetaDataByGlobalId.
As you can guess now you return a “integer” timestamp which cases my generated client in go to fail as it’s expecting a valid date-time string format as seen at https://swagger.io/docs/specification/data-models/data-types/
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (14 by maintainers)
Top Results From Across the Web
WebApi return wrong datetime - Stack Overflow
2017 3:30PM, when I run HttpClient query through the web api, then i get the value 2.2.2017 11:30AM. So even if I convert...
Read more >The time returned from the REST API is wrong
This article covers a scenario where developers are consuming the REST API using C# server-side integration. This article is not as relevant ...
Read more >rest api - DateTime Format Outputting Wrong Time
1 Answer 1 ... Salesforce stores all date-time values in UTC, but displays them in the user's time zone in the UI. Almost...
Read more >DateTime.Parse Method (System) - Microsoft Learn
If s contains time zone information, this method returns a DateTime value whose Kind property is DateTimeKind.Local and converts the date and time...
Read more >Time zones - Django documentation
This function returns the current date and time as a naive datetime when USE_TZ = False and as an aware datetime when USE_TZ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see, sounds good. This actually results in a more decoupled deployment, so we could start there, and optionally add more integration as we go.
I’ll leave the creation of the repository and whatnot to you guys. I think you have sufficient privs within the Apicurio GH org to do that. If not, please let me know. Once the repo is created, let @dweber019 know so they can submit a PR! 😃 😃
Thanks everyone.