From 8450d214e58b001bc32a69eb7858e8bc6e52a363 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Tue, 20 Oct 2015 23:32:40 +0100 Subject: Multi-year census date range --- app/Functions/FunctionsEdit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Functions') diff --git a/app/Functions/FunctionsEdit.php b/app/Functions/FunctionsEdit.php index 335ecb13cb..871d7846b7 100644 --- a/app/Functions/FunctionsEdit.php +++ b/app/Functions/FunctionsEdit.php @@ -1030,7 +1030,7 @@ class FunctionsEdit { $options .= ''; foreach ($census_place->allCensusDates() as $census) { $date = new Date($census->censusDate()); - $year = $date->minimumDate()->format('%Y'); + $year = $date->display(false, '%Y', false); $place_hierarchy = explode(', ', $census->censusPlace()); $options .= ''; } -- cgit v1.3