toshortstring -> tostring

This commit is contained in:
ChiKyun Kim
2025-12-19 08:23:13 +09:00
parent ab46ccb924
commit b1c3bbac42
76 changed files with 324 additions and 324 deletions

View File

@@ -18,11 +18,11 @@ namespace FPJ0000.OtConfirm
InitializeComponent();
var sd = DateTime.Now;
var ed = DateTime.Now;
this.dtSD.Value = DateTime.Parse(sd.ToShortDateString() + " " + dr.stime + ":00");
this.dtSD.Value = DateTime.Parse(sd.ToString("yyyy-MM-dd") + " " + dr.stime + ":00");
if (dr.etime.isEmpty() || dr.etime == "00:00")
this.dtED.Value = DateTime.Now;
else
this.dtED.Value = DateTime.Parse(ed.ToShortDateString() + " " + dr.etime + ":00");
this.dtED.Value = DateTime.Parse(ed.ToString("yyyy-MM-dd") + " " + dr.etime + ":00");
}
protected override void OnLoad(EventArgs e)
{