nightly.sh: build date in right format