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.utc_strftime() method; date formatting string not working for "%A" or "%a". #335

Closed
ghost opened this issue Feb 2, 2020 · 3 comments
Assignees

Comments

@ghost
Copy link

ghost commented Feb 2, 2020

I have installed "SkyField" (version 1.16) on a Raspberry Pi model 4B.

When I use the method Time.utc_strftime() with the following date formatting string "%A %-d %B %Y @ %H:%M:%S %Z" the result for the "%A" (ie. the day of the week) is always "Monday", ditto for "%a" as "Mon".

@brandon-rhodes brandon-rhodes self-assigned this Feb 2, 2020
@brandon-rhodes
Copy link
Member

Oh, look at that. There's no day-of-week computed in the code — apparently it never occurred to me that someone would try printing it! I'll see if I can get that fixed.

@brandon-rhodes
Copy link
Member

There we go, fixed! I'll see if I can get a release out by the end of the weekend.

@ghost
Copy link
Author

ghost commented Feb 2, 2020

I am amazed at your quick response. Many Thanks.

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