The date command is used when creating DRIVER_VERSION in the Makefile and dkms-install.sh. By default, date uses the local time zone. If the local time zone is changed, sometimes date could go back one day. In this case, if there exists a version created against an earlier commit on the same day as the current commit, its date will appear to be more recent than the current version.
The
date
command is used when creatingDRIVER_VERSION
in theMakefile
anddkms-install.sh
. By default,date
uses the local time zone. If the local time zone is changed, sometimes date could go back one day. In this case, if there exists a version created against an earlier commit on the same day as the current commit, its date will appear to be more recent than the current version.date -u
prints the date in UTC.