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