From c354f0a8baf935d09d3d4234ecf9774adfe2d7d0 Mon Sep 17 00:00:00 2001 From: Victor Hurdugaci Date: Mon, 30 Mar 2015 16:19:42 -0700 Subject: [PATCH] New assembly file version (with year) --- build/BuildEnv.shade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/BuildEnv.shade b/build/BuildEnv.shade index cd71832287..e3fcaf07dc 100644 --- a/build/BuildEnv.shade +++ b/build/BuildEnv.shade @@ -12,8 +12,8 @@ functions // If the computer date is set before the start date, then the version is 0 if (now >= start) { - var monthsSinceStart = (now.Year - start.Year) * 12 + now.Month; - version = monthsSinceStart.ToString("000") + now.Day.ToString("00"); + var yearsSinceStart = (now.Year - start.Year) + 1; + version = yearsSinceStart + now.ToString("MMdd"); } return version;