small change of date notation in a filename of a csv

pull/9/head
Sijbrandij 2021-04-21 09:03:25 +02:00
parent bd846e9f0d
commit e0aae4afaf
1 changed files with 1 additions and 1 deletions

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)