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 parse not support "20060102150405000" as format #66632

Closed
ucanme opened this issue Apr 1, 2024 · 2 comments
Closed

time parse not support "20060102150405000" as format #66632

ucanme opened this issue Apr 1, 2024 · 2 comments

Comments

@ucanme
Copy link

ucanme commented Apr 1, 2024

Go version

1.21.6

Output of go env in your module/workspace:

all version

What did you do?

the time parse package can't use this template "20060102150405000" as format

What did you see happen?

always happends

What did you expect to see?

support "20060102150405000" or 20060102150405.000000 as format

@seankhliao
Copy link
Member

yes it does: https://go.dev/play/p/bgQolPz3Gcc

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2024
@ucanme
Copy link
Author

ucanme commented Apr 19, 2024

the milliSecond is always zero

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