~strahinja/table

8700919e3e8840fd9193170635d4a752e14411be — Страхиња Радић 6 months ago c4c5495
lib/makedate: Remove extra code; set LC_ALL=C for consistent dates
1 files changed, 2 insertions(+), 10 deletions(-)

M lib/makedate
M lib/makedate => lib/makedate +2 -10
@@ 1,14 1,8 @@
#!/bin/sh -x
# vim: set ft=bash:
FALLBACKDATE=${FALLBACKDATE:-unknown}
case "$(uname -s)" in
	*OpenBSD*)
		DATEARGS='-j +%B,\ %d\ %Y'
		;;
	*)
		DATEARGS='+%B,\ %d\ %Y'
		;;
esac
LC_ALL=C
export LC_ALL

if [ -d .got ] && command -v got >/dev/null 2>&1; then
	got tag -l |


@@ 19,8 13,6 @@ if [ -d .got ] && command -v got >/dev/null 2>&1; then
		exit
	}' >date.new
elif [ -d .git ] && command -v git >/dev/null 2>&1; then
	LC_ALL=C
	export LC_ALL
	user=$(unalias ls >/dev/null 2>&1 || true; \
		command ls -ld . | awk '{print $3}')
	e_user=$(id -un)