Applies all of the feedback for the new page
This commit is contained in:
@@ -240,9 +240,10 @@
|
||||
(if date-range-value
|
||||
(-> (condp = date-range-value
|
||||
"week"
|
||||
(assoc m
|
||||
start-date-key (time/plus (time/now) (time/days -7))
|
||||
end-date-key (time/now))
|
||||
(let [last-monday (atime/last-monday)]
|
||||
(assoc m
|
||||
start-date-key (time/plus last-monday (time/days -7))
|
||||
end-date-key last-monday))
|
||||
|
||||
"month"
|
||||
(assoc m
|
||||
|
||||
Reference in New Issue
Block a user