From 407405389d101ae9228a941a8b44626361a9225d Mon Sep 17 00:00:00 2001 From: "cagette@ct8" Date: Wed, 11 Nov 2020 18:05:57 +0400 Subject: [PATCH] =?UTF-8?q?cagette-p=C3=A9i?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.hx | 2 +- src/MyMacros.hx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/App.hx b/src/App.hx index 38748e2..5935665 100755 --- a/src/App.hx +++ b/src/App.hx @@ -17,7 +17,7 @@ class App extends sugoi.BaseApp { */ //public static var VERSION = ([0,9,2] : Version).withPre("july"); //public static var VERSION = ([0,9,2] : Version).withPre(MyMacros.getGitShortSHA(), MyMacros.getGitCommitDate()); - public static var VERSION = ([0,9,2] : Version).withPre(MyMacros.getGitCommitDate()); + public static var VERSION = "cagette-péi " + MyMacros.getGitCommitDate(); public function new(){ super(); diff --git a/src/MyMacros.hx b/src/MyMacros.hx index 3432729..f3a0897 100644 --- a/src/MyMacros.hx +++ b/src/MyMacros.hx @@ -20,7 +20,8 @@ class MyMacros { commitDate = StringTools.replace(commitDate, " ", "."); commitDate = StringTools.replace(commitDate, "-", "."); commitDate = StringTools.replace(commitDate, ":", "."); - commitDate = commitDate.substr(0,16); + //commitDate = commitDate.substr(0,16); + commitDate = commitDate.substr(0,10); // Generates a string expression return macro $v{commitDate};