Skip to content

Commit

Permalink
Use 24 hour clock
Browse files Browse the repository at this point in the history
  • Loading branch information
penteract committed Mar 21, 2021
1 parent 4e5b2d6 commit 445bad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataInterfaceConsoleTest/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private static void DoDataDump(DataInterface di)
if (cnt != oldCnt)
{
if (cnt==0 && oldCnt>5){
var filename = "5dpgn"+DateTime.Now.ToString("yyyyMMdd_hhmmss")+".txt";
var filename = "5dpgn"+DateTime.Now.ToString("yyyyMMdd_HHmmss")+".txt";
File.WriteAllText(filename,"[Mode \"5D\"]"+lastRun);
}
lastRun="";
Expand Down

0 comments on commit 445bad6

Please sign in to comment.