diff --git a/src/zfs-auto-snapshot.sh b/src/zfs-auto-snapshot.sh index d74a0a3..52457fb 100644 --- a/src/zfs-auto-snapshot.sh +++ b/src/zfs-auto-snapshot.sh @@ -584,6 +584,7 @@ SNAPPROP="-o com.sun:auto-snapshot-desc='$opt_event'" # ISO style date; fifteen characters: YYYY-MM-DD-HHMM # On Solaris %H%M expands to 12h34. +# We use the shortfirm -u here because --utc is not supported on macos. DATE=$(date -u +%F-%H%M) # The snapshot name after the @ symbol.