Switch save timestamp display to 24h clock

Closes #2388 thanks @fattard !

Now shows seconds instead of AM/PM
"hh:mm tt" -> "HH:mm:ss"
This commit is contained in:
Kurt
2019-09-18 15:06:45 -07:00
parent 84f72ed2b9
commit 32969a4d86
6 changed files with 11 additions and 11 deletions

View File

@@ -1375,7 +1375,7 @@ private void InitializeComponent()
//
// CAL_HoFTime
//
this.CAL_HoFTime.CustomFormat = "hh:mm tt";
this.CAL_HoFTime.CustomFormat = "HH:mm:ss";
this.CAL_HoFTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.CAL_HoFTime.Location = new System.Drawing.Point(115, 91);
this.CAL_HoFTime.MaxDate = new System.DateTime(2050, 12, 31, 0, 0, 0, 0);
@@ -1408,7 +1408,7 @@ private void InitializeComponent()
//
// CAL_AdventureStartTime
//
this.CAL_AdventureStartTime.CustomFormat = "hh:mm tt";
this.CAL_AdventureStartTime.CustomFormat = "HH:mm:ss";
this.CAL_AdventureStartTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.CAL_AdventureStartTime.Location = new System.Drawing.Point(115, 54);
this.CAL_AdventureStartTime.MaxDate = new System.DateTime(2050, 12, 31, 0, 0, 0, 0);
@@ -1421,7 +1421,7 @@ private void InitializeComponent()
//
// CAL_LastSavedTime
//
this.CAL_LastSavedTime.CustomFormat = "hh:mm tt";
this.CAL_LastSavedTime.CustomFormat = "HH:mm:ss";
this.CAL_LastSavedTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.CAL_LastSavedTime.Location = new System.Drawing.Point(115, 129);
this.CAL_LastSavedTime.MaxDate = new System.DateTime(4095, 12, 31, 0, 0, 0, 0);

View File

@@ -223,7 +223,7 @@ private void GetTextBoxes()
CAL_AdventureStartDate.Value = date;
CAL_AdventureStartTime.Value = time;
Util.GetDateTime2000(SAV.SecondsToStart, out date, out time);
Util.GetDateTime2000(SAV.SecondsToFame, out date, out time);
CAL_HoFDate.Value = date;
CAL_HoFTime.Value = time;
}

View File

@@ -1003,7 +1003,7 @@ private void InitializeComponent()
//
// CAL_HoFTime
//
this.CAL_HoFTime.CustomFormat = "hh:mm tt";
this.CAL_HoFTime.CustomFormat = "HH:mm:ss";
this.CAL_HoFTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.CAL_HoFTime.Location = new System.Drawing.Point(115, 91);
this.CAL_HoFTime.MaxDate = new System.DateTime(2050, 12, 31, 0, 0, 0, 0);
@@ -1036,7 +1036,7 @@ private void InitializeComponent()
//
// CAL_AdventureStartTime
//
this.CAL_AdventureStartTime.CustomFormat = "hh:mm tt";
this.CAL_AdventureStartTime.CustomFormat = "HH:mm:ss";
this.CAL_AdventureStartTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.CAL_AdventureStartTime.Location = new System.Drawing.Point(115, 54);
this.CAL_AdventureStartTime.MaxDate = new System.DateTime(2050, 12, 31, 0, 0, 0, 0);
@@ -1049,7 +1049,7 @@ private void InitializeComponent()
//
// CAL_LastSavedTime
//
this.CAL_LastSavedTime.CustomFormat = "hh:mm tt";
this.CAL_LastSavedTime.CustomFormat = "HH:mm:ss";
this.CAL_LastSavedTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.CAL_LastSavedTime.Location = new System.Drawing.Point(115, 129);
this.CAL_LastSavedTime.MaxDate = new System.DateTime(4095, 12, 31, 0, 0, 0, 0);

View File

@@ -151,7 +151,7 @@ private void GetTextBoxes()
CAL_AdventureStartDate.Value = date;
CAL_AdventureStartTime.Value = time;
Util.GetDateTime2000(SAV.SecondsToStart, out date, out time);
Util.GetDateTime2000(SAV.SecondsToFame, out date, out time);
CAL_HoFDate.Value = date;
CAL_HoFTime.Value = time;

View File

@@ -245,7 +245,7 @@ private void InitializeComponent()
//
// CAL_AdventureStartTime
//
this.CAL_AdventureStartTime.CustomFormat = "hh:mm tt";
this.CAL_AdventureStartTime.CustomFormat = "HH:mm:ss";
this.CAL_AdventureStartTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.CAL_AdventureStartTime.Location = new System.Drawing.Point(116, 70);
this.CAL_AdventureStartTime.MaxDate = new System.DateTime(4095, 12, 31, 0, 0, 0, 0);
@@ -258,7 +258,7 @@ private void InitializeComponent()
//
// CAL_HoFTime
//
this.CAL_HoFTime.CustomFormat = "hh:mm tt";
this.CAL_HoFTime.CustomFormat = "HH:mm:ss";
this.CAL_HoFTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.CAL_HoFTime.Location = new System.Drawing.Point(116, 126);
this.CAL_HoFTime.MaxDate = new System.DateTime(4095, 12, 31, 0, 0, 0, 0);

View File

@@ -155,7 +155,7 @@ public SAV_SimpleTrainer(SaveFile sav)
CAL_AdventureStartDate.Value = date;
CAL_AdventureStartTime.Value = time;
Util.GetDateTime2000(SAV.SecondsToStart, out date, out time);
Util.GetDateTime2000(SAV.SecondsToFame, out date, out time);
CAL_HoFDate.Value = date;
CAL_HoFTime.Value = time;