From b6f4c2ec5d50bb9c336e8c5343075381a9263219 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 30 Jul 2005 19:41:42 +0000 Subject: [PATCH] bitbake/bin/bitbake: -use gmtime instead of localtime for the BUILDSTART variable --- bin/bitbake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/bitbake b/bin/bitbake index b44682d0..e01da693 100755 --- a/bin/bitbake +++ b/bin/bitbake @@ -604,7 +604,7 @@ class BBCooker: # inject custom variables if not bb.data.getVar("BUILDNAME", self.configuration.data): bb.data.setVar("BUILDNAME", os.popen('date +%Y%m%d%H%M').readline().strip(), self.configuration.data) - bb.data.setVar("BUILDSTART", time.strftime('%m/%d/%Y %H:%M:%S',time.localtime()),self.configuration.data) + bb.data.setVar("BUILDSTART", time.strftime('%m/%d/%Y %H:%M:%S',time.gmtime()),self.configuration.data) buildname = bb.data.getVar("BUILDNAME", self.configuration.data) -- 2.20.1