mirror of https://github.com/nirenjan/libx52.git
build: Force build timestamp to be in UTC time
As part of improving the privacy around the software, even though time zone is not considered PII, it's still coarse location data that we don't need at all. By using UTC, we can eliminate even this last bit of identifying information from the bug reports.pull/58/head
parent
a40546bda3
commit
1b00bf4a69
|
|
@ -33,7 +33,7 @@ fi
|
|||
|
||||
cat <<EOM
|
||||
#define BUILD_VERSION "${DESCRIBE}"
|
||||
#define BUILD_DATE "$(date +%Y-%m-%dT%H:%M:%S%z)"
|
||||
#define BUILD_DATE "$(date -u +%Y-%m-%dT%H:%M:%S%z)"
|
||||
#define BUILD_ARCH "$(uname -mp)"
|
||||
#define BUILD_KERNEL "$(uname -sr)"
|
||||
#define BUILD_OS_VERSION "$(uname -v)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue