-
Couldn't load subscription status.
- Fork 27
Add support for %f (format microseconds) to datefmt #209
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
base: main
Are you sure you want to change the base?
Add support for %f (format microseconds) to datefmt #209
Conversation
@microsoft-github-policy-service agree |
54f2817 to
87c048a
Compare
|
Hi @tonybaloney. Would you be able to take a look at my PRs please? |
|
The other PR is merged so I think this one can be closed? |
Sorry for confusion. The other PR was just fixing default asctime formatting. I see some merge conflicts, I'll resolve them and add tests. |
|
@tonybaloney |
Ah I understand now. I was looking at 3.13 support as well in another PR since it seems that the API for getting times changed and the old function for getting microseconds has been removed. So I'll consider that in this PR |
Well this PR doesn't touch PyTime, but it seems like we just need to call |
Yes that's in #212 the API that's missing is the one to fetch milliseconds. I've set it to zero until I can find a solution |
Ah I see. |
|
any update? |
|
Looking forward to using your library with this feature :) |
Closes #184
Since libc strftime doesn't support %f specifier the implementation works it around by
The first step is optional, it will be only invoked if %f is detected by the Formatter constructor