mirror of
https://github.com/beestat/app.git
synced 2025-06-03 05:36:51 -04:00
Fixed #240 - Add "yesterday" as an option to data downloads.
This commit is contained in:
parent
786b958086
commit
bd6e03dd41
@ -135,6 +135,12 @@ beestat.component.modal.download_data.prototype.decorate_presets_ = function(par
|
|||||||
'range_end': now.clone(),
|
'range_end': now.clone(),
|
||||||
'button': new beestat.component.button()
|
'button': new beestat.component.button()
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'label': 'Yesterday',
|
||||||
|
'range_begin': now.clone().subtract(1, 'day'),
|
||||||
|
'range_end': now.clone().subtract(1, 'day'),
|
||||||
|
'button': new beestat.component.button()
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'label': 'This Week',
|
'label': 'This Week',
|
||||||
'range_begin': now.clone().startOf('week'),
|
'range_begin': now.clone().startOf('week'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user