Inline jinja2-time extension code#1779
Conversation
8e3b04b to
dba0e95
Compare
ericof
left a comment
There was a problem hiding this comment.
Thank you, @tranzystorek-io, for the contribution.
|
Is there any way to detect this? Now (I think it would have bene nice to keep the dependency for a version or two to allow cookies to adjust...) |
|
FYI, https://cookiecutter.readthedocs.io/en/stable/advanced/template_extensions.html still tells users to use |
|
FYI, since you handle the processing of that string, what about making |
We're doing this temporarily to continue usage of the jinja2_time extension. See cookiecutter/cookiecutter#1779 The next step of this resolution is to update templatebot and the templates here in concert to adopt the new inlined time extension available in cookiecutter 2.2+.
Closes #1755
This is the jinja2-time code copied almost verbatim, save for minute modern python code changes, and the hackebrot/jinja2-time#19 patch for compatibility across more
arrowversions.Didn't specify
arrowversion in requirements since I wasn't sure what to put there.