summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/jpeg/libjpeg-turbo_1.5.3.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/jpeg/libjpeg-turbo_1.5.3.bb b/meta/recipes-graphics/jpeg/libjpeg-turbo_1.5.3.bb
index 15353b5b5d..6be6aa572c 100644
--- a/meta/recipes-graphics/jpeg/libjpeg-turbo_1.5.3.bb
+++ b/meta/recipes-graphics/jpeg/libjpeg-turbo_1.5.3.bb
@@ -46,7 +46,7 @@ DEBUG_OPTIMIZATION_append_armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb
46def get_build_time(d): 46def get_build_time(d):
47 if d.getVar('SOURCE_DATE_EPOCH') != None: 47 if d.getVar('SOURCE_DATE_EPOCH') != None:
48 import datetime 48 import datetime
49 return " --with-build-date="+ datetime.datetime.fromtimestamp(float(d.getVar('SOURCE_DATE_EPOCH'))).strftime("%Y%m%d") 49 return " --with-build-date="+ datetime.datetime.utcfromtimestamp(float(d.getVar('SOURCE_DATE_EPOCH'))).strftime("%Y%m%d")
50 return "" 50 return ""
51 51
52EXTRA_OECONF_append_class-target = "${@get_build_time(d)}" 52EXTRA_OECONF_append_class-target = "${@get_build_time(d)}"