Skip to content

Commit

Permalink
Add more presets for the start_time / end_time
Browse files Browse the repository at this point in the history
  • Loading branch information
dgmora committed Feb 15, 2025
1 parent 12635ee commit d09bac8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/views/blazer/_variables.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@
ranges: {
"Today": [dateStr(), dateStr()],
"Last 7 Days": [dateStr(6), dateStr()],
"Last 30 Days": [dateStr(29), dateStr()]
"Last 30 Days": [dateStr(29), dateStr()],
"Last 3 Months": [now.clone().subtract(3, "months").format(format), dateStr()],
"Last 6 Months": [now.clone().subtract(6, "months").format(format), dateStr()],
"Last Year": [now.clone().subtract(1, "year").format(format), dateStr()]
},
locale: {
format: format
Expand Down

0 comments on commit d09bac8

Please # to comment.