Skip to content

Commit

Permalink
Make use of UTC dates for RPM timestamp
Browse files Browse the repository at this point in the history
So they can be shared/compared by people in different timezones
  • Loading branch information
dagwieers committed Oct 2, 2012
1 parent f897f19 commit 765061d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ else
ifeq ($(OS), Darwin)
DATE := $(shell date -j -f "%Y-%m-%d %H:%M:%S" "$(GIT_DATE)" +%Y%m%d%H%M)
else
DATE := $(shell date --date="$(GIT_DATE)" +%Y%m%d%H%M)
DATE := $(shell date --utc --date="$(GIT_DATE)" +%Y%m%d%H%M)
endif
endif

Expand Down

0 comments on commit 765061d

Please sign in to comment.