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

Variation of the Unix timestamp issue #2634

Closed
zettelmj opened this issue Feb 8, 2021 · 1 comment
Closed

Variation of the Unix timestamp issue #2634

zettelmj opened this issue Feb 8, 2021 · 1 comment

Comments

@zettelmj
Copy link

zettelmj commented Feb 8, 2021

Hi,

I am running into a variation of #1979 difference in my case is that the timestamp is in milliseconds. My approach would be to follow ThomasObenaus@ecddd03 example and extend the supported format to not only support unix and unixnano but also unixmilli.

Would such a PR be welcome?

Thank you
Jens

@takanuva15
Copy link
Contributor

takanuva15 commented Jul 10, 2023

I was just looking whether gin can do a binding directly from milliseconds and I'm confused - was this ever implemented?
Or do we need to keep dividing the timestamp by 1000 to fit the "unix" time_format when submitting requests through gin?
(It doesn't look like there's any implementation around unixMilli)

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

3 participants