From a365b4cf10f51e24945cc095060d610ff842d4f1 Mon Sep 17 00:00:00 2001 From: Vlad Shcherban Date: Thu, 3 Dec 2020 12:54:10 +0200 Subject: [PATCH] iOS: preventing leading zeroes in month for bundle version as well #199 --- platform/resources/CoronaPListSupport.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/resources/CoronaPListSupport.lua b/platform/resources/CoronaPListSupport.lua index f70637e6e..223e1c7be 100644 --- a/platform/resources/CoronaPListSupport.lua +++ b/platform/resources/CoronaPListSupport.lua @@ -215,7 +215,7 @@ function CoronaPListSupport.modifyPlist( options ) -- Apple treats this the build number so, if it hasn't been specified in the build.settings, we -- set it to the current date and time which is unique for the app and human readable bundleVersionSource = (infoPlist.CFBundleVersion == "@BUNDLE_VERSION@") and "set by Simulator" or "set by Info.plist" - infoPlist.CFBundleVersion = os.date("%Y.%m.7%d%H%M") + infoPlist.CFBundleVersion = os.date("%Y.7%m.7%d%H%M") end local version = options.bundleversion or "1.0.0"