Skip to content

Commit 37b2025

Browse files
authored
Add This Week to dashboard
I find this more useful for tracking my work hours.
1 parent 24b1c36 commit 37b2025

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/src/dashboard.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ var dtf = require("./dateformat.js");
5858
showCustomRangeLabel: false,
5959
ranges: {
6060
'Today': [moment().startOf('day'), moment().endOf('day')],
61+
'This week': [moment().startOf('week'), moment().endOf('week')],
6162
'Last 7 Days': [moment().startOf('day').subtract(6, 'days'), moment().endOf('day')],
6263
'Last 30 Days': [moment().startOf('day').subtract(29, 'days'), moment().endOf('day')],
6364
'Last 90 Days': [moment().startOf('day').subtract(89, 'days'), moment().endOf('day')],

0 commit comments

Comments
 (0)