-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support datetime + URL settings that strip the leading zero #19
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! I made a few minor suggestions. Regarding the Black-related changes, I think those are better submitted in a separate pull request since they seem to be unrelated to the objective of this PR.
I updated linter versions in master
, so I recommend dropping the 69e3e7b
commit and rebasing this PR on master
.
…rl has "{date:%-d}" This relies on customized strftime behaviour built into Pelican. Also, adds tests!
cd7341a
to
4e0e507
Compare
Update format (and Changelog format) as per review notes
4e0e507
to
5b06da3
Compare
@justinmayer Updated, and ready to go! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work on this, @MinchinWeb! ✨
Building on the groundwork of getpelican/pelican#2902, this aims to support Pelican's custom strftime implementation to allow striping of leading zeros.
Also, it adds better logging for when a filter errors out or pre-commit black does.
Also adds a couple more tests.