date in american safe format
This commit is contained in:
parent
7f0eb5da74
commit
0309985af0
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# --- Date / time (no spaces/colons) ---
|
||||
DATESTAMP=$(date +"%d%m%Y_%H%M%S")
|
||||
DATESTAMP=$(date +"%d-%b-%Y_%H%M%S")
|
||||
|
||||
# --- Git info (with fallbacks if not a git repo) ---
|
||||
if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user