From 4a2bbbe9080f85aea3b27fac6f23644ea6b38ced Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Tue, 25 Oct 2022 22:07:48 -0700 Subject: [PATCH] Really? We are changing the sprint numbers? --- ha-org-sprint.org | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ha-org-sprint.org b/ha-org-sprint.org index 5538d03..689a7b6 100644 --- a/ha-org-sprint.org +++ b/ha-org-sprint.org @@ -226,12 +226,11 @@ And it appears that my PM for this year, is a week number behind. #+begin_src emacs-lisp (defun sprint-number (&optional date) "Return the current sprint number, with some assumptions that - each sprint is two weeks long, starting on Thursday." - (interactive) + each sprint is two weeks long, starting on Tuesday." (let ((num (sprint-week-num date))) (if (cl-oddp num) - (- num 2) - (- num 1)))) + (- num) + num))) #+end_src And some tests to verify that: