Really? We are changing the sprint numbers?
This commit is contained in:
parent
61cd127fe3
commit
4a2bbbe908
1 changed files with 3 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue