Changed time format
diff --git a/PokemonGo/RocketAPI/Window/MainForm.Designer.cs b/PokemonGo/RocketAPI/Window/MainForm.Designer.cs
index 3ce9826..2ba3a3e 100644
--- a/PokemonGo/RocketAPI/Window/MainForm.Designer.cs
+++ b/PokemonGo/RocketAPI/Window/MainForm.Designer.cs
@@ -77,6 +77,7 @@
this.menuStrip1.Size = new System.Drawing.Size(905, 24);
this.menuStrip1.TabIndex = 2;
this.menuStrip1.Text = "menuStrip1";
+ this.menuStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.menuStrip1_ItemClicked);
//
// todoToolStripMenuItem
//
@@ -89,7 +90,7 @@
// settingsToolStripMenuItem
//
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
- this.settingsToolStripMenuItem.Size = new System.Drawing.Size(116, 22);
+ this.settingsToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.settingsToolStripMenuItem.Text = "Settings";
this.settingsToolStripMenuItem.Click += new System.EventHandler(this.settingsToolStripMenuItem_Click);
//
diff --git a/PokemonGo/RocketAPI/Window/MainForm.cs b/PokemonGo/RocketAPI/Window/MainForm.cs
index 31892a7..76bd154 100644
--- a/PokemonGo/RocketAPI/Window/MainForm.cs
+++ b/PokemonGo/RocketAPI/Window/MainForm.cs
@@ -94,7 +94,7 @@ namespace PokemonGo.RocketAPI.Window
Invoke(new Action<Color, string>(ColoredConsoleWrite), color, text);
return;
}
- string textToAppend = DateTime.Now.ToString(CultureInfo.InvariantCulture) + " - " + text + "\r\n";
+ string textToAppend = "[" + DateTime.Now.ToString("HH:mm:ss tt") + "] " + text + "\r\n";
logTextBox.SelectionColor = color;
logTextBox.AppendText(textToAppend);
File.AppendAllText(AppDomain.CurrentDomain.BaseDirectory + @"\Logs.txt", "[" + DateTime.Now.ToString("HH:mm:ss tt") + "] " + text + "\n");
@@ -763,6 +763,11 @@ namespace PokemonGo.RocketAPI.Window
ColoredConsoleWrite(Color.Red, $"Unhandled exception: {ex}");
}
});
- }
+ }
+
+ private void menuStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
+ {
+
+ }
}
}
You may download the files in Public Git.