toshortstring -> tostring
This commit is contained in:
@@ -55,7 +55,7 @@ namespace FEQ0000
|
||||
if (e.KeyCode != Keys.Enter) return;
|
||||
var tb = sender as ToolStripTextBox;
|
||||
var input = tb.Text.Trim();
|
||||
if (input == "") tb.Text = DateTime.Now.ToShortDateString();
|
||||
if (input == "") tb.Text = DateTime.Now.ToString("yyyy-MM-dd");
|
||||
else
|
||||
{
|
||||
string dt = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user