diff --git a/KeyboardChatterBlocker/MainBlockerForm.cs b/KeyboardChatterBlocker/MainBlockerForm.cs index a50640c..46a7619 100644 --- a/KeyboardChatterBlocker/MainBlockerForm.cs +++ b/KeyboardChatterBlocker/MainBlockerForm.cs @@ -9,6 +9,7 @@ using System.Windows.Forms; using System.Diagnostics; using System.IO; +using System.Globalization; namespace KeyboardChatterBlocker { @@ -69,7 +70,7 @@ public MainBlockerForm() /// The key blocked event details. public void LogKeyBlocked(KeyBlockedEventArgs e) { - ChatterLogGrid.Rows.Add(DateTime.Now.ToString("HH:mm:ss"), e.Key.ToString(), e.Time.ToString(), "[Edit]"); + ChatterLogGrid.Rows.Add(DateTime.Now.ToString("MM/dd HH:mm:ss", CultureInfo.InvariantCulture), e.Key.ToString(), e.Time.ToString(), "[Edit]"); } ///