diff --git a/js/component/modal/download_data.js b/js/component/modal/download_data.js index 8ca05a6..d2f17db 100644 --- a/js/component/modal/download_data.js +++ b/js/component/modal/download_data.js @@ -135,6 +135,12 @@ beestat.component.modal.download_data.prototype.decorate_presets_ = function(par 'range_end': now.clone(), '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', 'range_begin': now.clone().startOf('week'),