23.4.2025 Wednesday 18:44

This commit is contained in:
Petr Nyc
2025-04-23 18:44:08 +02:00
parent 89369e066d
commit ad8fffcec7
3 changed files with 18 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ trap 'exit 1' HUP INT QUIT TERM
trap 'on_error' EXIT
log::prefix() {
date=$(gdate '+%Y-%m-%d %H:%M:%S,%3N')
date=$(/opt/homebrew/bin/gdate '+%Y-%m-%d %H:%M:%S,%3N')
printf '%s %s\n' "${date}" "${*}"
}