From be2ffae89e9f6ece88faffe6edc492c6b460c09e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?D=C3=B3ra=20Kocsis?= <dora@dynare.org>
Date: Mon, 6 Apr 2020 13:08:03 +0200
Subject: [PATCH] general cleanup, efficiency improvement, closes #7

---
 src/subroutines/normalize_period.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/subroutines/normalize_period.m b/src/subroutines/normalize_period.m
index c1807ca..63d2507 100644
--- a/src/subroutines/normalize_period.m
+++ b/src/subroutines/normalize_period.m
@@ -30,6 +30,6 @@ function series = normalize_period(series)
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
 series.original_period = series.period;
-series.period = cellfun(@(x)datestr(datetime(x,'InputFormat','yyyy-MM-dd'),29),series.period_start_day, 'UniformOutput',false);
+series.period = series.period_start_day;
 series = rmfield(series, 'period_start_day');
 end
-- 
GitLab