From 376cf9fcd96967739317202594d6a0c2f44c99bb Mon Sep 17 00:00:00 2001 From: Kurt Date: Tue, 1 Jan 2019 21:54:03 -0800 Subject: [PATCH] leading zeroes for new update message 100% cosmetic fix assemblyinfo to actually have the latest version data --- PKHeX.WinForms/MainWindow/Main.cs | 4 +++- PKHeX.WinForms/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/PKHeX.WinForms/MainWindow/Main.cs b/PKHeX.WinForms/MainWindow/Main.cs index dedf82e23..f8291f319 100644 --- a/PKHeX.WinForms/MainWindow/Main.cs +++ b/PKHeX.WinForms/MainWindow/Main.cs @@ -248,7 +248,9 @@ namespace PKHeX.WinForms Invoke((MethodInvoker)(() => { L_UpdateAvailable.Visible = true; - L_UpdateAvailable.Text = $"{MsgProgramUpdateAvailable} {latestVersion.ToString(3)}"; + var ver = latestVersion; + var date = $"{2000 + ver.Major:00}{ver.Minor:00}{ver.Build:00}"; + L_UpdateAvailable.Text = $"{MsgProgramUpdateAvailable} {date}"; })); } catch (Exception ex) diff --git a/PKHeX.WinForms/Properties/AssemblyInfo.cs b/PKHeX.WinForms/Properties/AssemblyInfo.cs index 9104e9f08..d1f42bdfe 100644 --- a/PKHeX.WinForms/Properties/AssemblyInfo.cs +++ b/PKHeX.WinForms/Properties/AssemblyInfo.cs @@ -32,6 +32,6 @@ using System.Resources; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("18.12.02.0")] -[assembly: AssemblyFileVersion("18.12.02.0")] +[assembly: AssemblyVersion("19.01.02.0")] +[assembly: AssemblyFileVersion("19.01.02.0")] [assembly: NeutralResourcesLanguageAttribute("en")]