Skip to content

Commit

Permalink
forgot to update date format
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilLord666 committed Feb 3, 2023
1 parent fcf31cc commit 7e4e5c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ await Task.WhenAny(new Task[]
public string FormatMailMessage(string template, IList<SpectrumReadyData> spectra)
{
string mailMessage = template.Replace(CurrentSatePlaceholder, DateTime.Now.ToString("yyyy-MM-dd:HH-mm-ss"));
IList<string> lines = spectra.Select(s => string.Format(SavedSpectrumDescriptionTemplate, s.Name, s.Channel, s.RawInfo.LastWriteTime)).ToList();
IList<string> lines = spectra.Select(s => string.Format(SavedSpectrumDescriptionTemplate, s.Name, s.Channel, s.RawInfo.LastWriteTime.ToString("yyyy-MM-dd:HH-mm-ss"))).ToList();
string linesStr = string.Join(Environment.NewLine, lines);
mailMessage = mailMessage.Replace(AutosavedSpectraPlaceholder, linesStr);

Expand Down

0 comments on commit 7e4e5c2

Please sign in to comment.