summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2019-09-01 17:21:37 +0200
committertoonn <toonn@toonn.io>2019-09-01 17:21:37 +0200
commitc2d7e36e819b1b11aa9af28b9e9a6fbb26eca7c4 (patch)
treea86e30108cc15fb3edb235e24fd1d6d1d22aedfc
parentee344c896e85f92f91d097a95e88ae4ead786c7b (diff)
Switch manpage date from locale dependent to ISO UTC
Having the date in the manpage depend on a user's locale and their timezone makes the format change depending on which user generates it.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 87c5ff1b..7e2c62da 100644
--- a/Makefile
+++ b/Makefile
@@ -127,9 +127,9 @@ test: test_py test_shellcheck
man:
pod2man --stderr --center='ranger manual' --date='$(NAME)-$(VERSION)' \
- --release=$(shell date +%x) doc/ranger.pod doc/ranger.1
+ --release=$(shell date -u '+%Y-%m-%d') doc/ranger.pod doc/ranger.1
pod2man --stderr --center='rifle manual' --date='$(NAME_RIFLE)-$(VERSION_RIFLE)' \
- --release=$(shell date +%x) doc/rifle.pod doc/rifle.1
+ --release=$(shell date -u '+%Y-%m-%d') doc/rifle.pod doc/rifle.1
manhtml:
pod2html doc/ranger.pod --outfile=doc/ranger.1.html