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

Feature: Add support for Week ISO #92

Open
xavierkh opened this issue Feb 1, 2019 · 0 comments
Open

Feature: Add support for Week ISO #92

xavierkh opened this issue Feb 1, 2019 · 0 comments

Comments

@xavierkh
Copy link

xavierkh commented Feb 1, 2019

Hi,

It would be interesting to also support the ISO WEEK numbering, already handled with %V flag in strftime

This would make issue titles consistent with business calendars

Done in periodictask 3.1.1

lib/scheduled_tasks_checker.rb:11:      subject.gsub!('**WEEK**', Time.now.strftime("%W"))
lib/scheduled_tasks_checker.rb:12:      subject.gsub!('**WEEKISO**', Time.now.strftime("%V"))
lib/scheduled_tasks_checker.rb:17:      description.gsub!('**WEEK**', Time.now.strftime("%W"))
lib/scheduled_tasks_checker.rb:18:      description.gsub!('**WEEKISO**', Time.now.strftime("%V"))
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