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

Ability to specify date/time format #502

Open
lafriks opened this issue Mar 5, 2024 · 0 comments
Open

Ability to specify date/time format #502

lafriks opened this issue Mar 5, 2024 · 0 comments

Comments

@lafriks
Copy link

lafriks commented Mar 5, 2024

Would be very useful to specify the struct tag option "format" for time.Time fields (e.g., "format:RFC3339Nano" or "format:'2006-01-02'") to marshal and unmarshal date/time in custom formats similarly how it could be in encoding/json/v2 - golang/go#63397

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

1 participant