date=$(command -v gdate 2>/dev/null || echo date)
if command -v -- gdate >/dev/null 2>&1; then
  date="gdate"
elif command -p -- date --version . >/dev/null 2>&1; then
  :
fi
