diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2016-07-08 07:46:59 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2016-07-08 07:46:59 +0300 |
commit | 1c33184a0e9e5cb1ba18f00fbf989872eb398558 (patch) | |
tree | a18ed1222ccf0d16f18290dd7de875a19ac5712c /core/DataTable | |
parent | c5d40f9835253a8b187db71de33cbafdda406822 (diff) |
Fix CSV export cannot be used with dates like previousX (#10273)
Diffstat (limited to 'core/DataTable')
-rw-r--r-- | core/DataTable/Renderer/Csv.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/DataTable/Renderer/Csv.php b/core/DataTable/Renderer/Csv.php index 441890bff8..d9b2ea4fd4 100644 --- a/core/DataTable/Renderer/Csv.php +++ b/core/DataTable/Renderer/Csv.php @@ -306,7 +306,7 @@ class Csv extends Renderer } elseif (strpos($date, ',') !== false) { $period = new Range('range', $date); } else { - $period = Period\Factory::build($period, Date::factory($date)); + $period = Period\Factory::build($period, $date); } $prettyDate = $period->getLocalizedLongString(); |