-
Notifications
You must be signed in to change notification settings - Fork 544
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
Pre-Parse strftime string #1057
Comments
It is possible, but not well-documented yet. With Just happened to figure this out for myself yesterday, with an example in this comment #1049 (comment). |
I guess |
Ai, it doesn't even allow reuse? In |
Collecting the elements of the |
@Kixiron if you figure it out, would you please repost the reduced recipe here? |
You just do what pitdicker said, |
@Kixiron thanks for following up! |
A way to pre-parse a format/parse string would be really nice, I call
DateTime::parse_from_str
in a hot loop and I'd like not to re-parse the format string in every iterationThe text was updated successfully, but these errors were encountered: