mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 15:36:51 -05:00
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:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user