We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd27aa1 + 6ea2d7f commit 39bce83Copy full SHA for 39bce83
src/zfs-auto-snapshot.sh
@@ -504,7 +504,7 @@ SNAPPROP="-o com.sun:auto-snapshot-desc='$opt_event'"
504
505
# ISO style date; fifteen characters: YYYY-MM-DD-HHMM
506
# On Solaris %H%M expands to 12h34.
507
-DATE=$(date +%F-%H%M)
+DATE=$(date --utc +%F-%H%M)
508
509
# The snapshot name after the @ symbol.
510
SNAPNAME="$opt_prefix${opt_label:+$opt_sep$opt_label-$DATE}"
0 commit comments