small change of date notation in a filename of a csv

This commit is contained in:
Sijbrandij 2021-04-21 09:03:25 +02:00
parent bd846e9f0d
commit e0aae4afaf

View File

@ -131,7 +131,7 @@ namespace FarmmapsNbs
if (StoreStatistics == true)
{
var SatelliteStatsFile = $"{DownloadFolder}/SatelliteDataStatistics_{FieldName}_{satalliteItem.DataDate.Value:d}.csv";
var SatelliteStatsFile = $"{DownloadFolder}/SatelliteDataStatistics_{FieldName}_{satalliteItem.DataDate.Value:yyyy-MM-dd}.csv";
using var w = new StreamWriter(SatelliteStatsFile);
{
foreach (var item in satelliteStatistics)