diff --git a/src/zfs-auto-snapshot.sh b/src/zfs-auto-snapshot.sh index 5318e98..cd20042 100755 --- a/src/zfs-auto-snapshot.sh +++ b/src/zfs-auto-snapshot.sh @@ -504,7 +504,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. -DATE=$(date +%F-%H%M) +DATE=$(date --utc +%F-%H%M) # The snapshot name after the @ symbol. SNAPNAME="$opt_prefix${opt_label:+$opt_sep$opt_label-$DATE}"