From dcd884baf7f75faa2346275ca280767b3098df3d Mon Sep 17 00:00:00 2001 From: Mazar Shaik Date: Tue, 5 Nov 2024 16:14:18 +0000 Subject: [PATCH] Added file extension as csv --- src/EPR.Calculator.API/Exporter/CalcResultsExporter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EPR.Calculator.API/Exporter/CalcResultsExporter.cs b/src/EPR.Calculator.API/Exporter/CalcResultsExporter.cs index ba9a103..4f7e763 100644 --- a/src/EPR.Calculator.API/Exporter/CalcResultsExporter.cs +++ b/src/EPR.Calculator.API/Exporter/CalcResultsExporter.cs @@ -65,7 +65,7 @@ private static void AppendCsvLine(StringBuilder csvContent, string label, string } private static string GetResultFileName(int runId) { - return $"{runId}-{DateTime.Now:yyyy-MM-dd-HHmm}"; + return $"{runId}-{DateTime.Now:yyyy-MM-dd-HHmm}.csv"; } } }