diff --git a/app/Http/Controllers/ExportController.php b/app/Http/Controllers/ExportController.php index f7fab1f043..b0f15e5d1a 100644 --- a/app/Http/Controllers/ExportController.php +++ b/app/Http/Controllers/ExportController.php @@ -97,7 +97,7 @@ class ExportController extends Controller $checked = array_keys($accountList); $formats = array_keys(Config::get('firefly.export_formats')); $defaultFormat = Preferences::get('export_format', Config::get('firefly.default_export_format'))->data; - $first = Carbon::create()->subWeek()->format('Y-m-d'); + $first = session('first')->format('Y-m-d'); $today = Carbon::create()->format('Y-m-d'); return view('export.index', compact('job', 'checked', 'accountList', 'formats', 'defaultFormat', 'first', 'today')); diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php index 08f1bf31b7..b6b8f96d18 100644 --- a/resources/lang/en_US/firefly.php +++ b/resources/lang/en_US/firefly.php @@ -58,6 +58,7 @@ return [ 'include_config_help' => 'For easy re-import into Firefly III', 'include_old_uploads_help' => 'Firefly III does not throw away the original CSV files you have imported in the past. You can include them in your export.', 'do_export' => 'Export', + 'export_status_never_started' => 'The export has not started yet', 'export_status_make_exporter' => 'Creating exporter thing...', 'export_status_collecting_journals' => 'Collecting your transactions...', 'export_status_collected_journals' => 'Collected your transactions!',