In order to make the time format consistent for all host localizations
and systems, we use the ISO 8601 format for UTC.
Signed-off-by: Simon Kuenzer <simon@unikraft.io>
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.io>
Reviewed-by: Rares Miculescu <miculescur@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1127
HOSTRANLIB := $(shell which $(HOSTRANLIB) || type -p $(HOSTRANLIB) || echo ranlib)
HOSTCC_VERSION := $(shell $(HOSTCC_NOCCACHE) --version | \
$(SED) -n -r 's/^.* ([0-9]*)\.([0-9]*)\.([0-9]*)[ ]*.*/\1 \2/p')
-HOSTUTC := $(shell date -u)
+# UTC time in ISO 8601 format:
+HOSTUTC := $(shell date -Iseconds -u)
HOSTNAME := $(shell hostname -s)
HOSTUSER := $(shell whoami)