Skip to content

Commit 86a9509

Browse files
author
Jonathan Carter
authored
Add note about macos compatibility
1 parent 363a847 commit 86a9509

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/zfs-auto-snapshot.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,7 @@ SNAPPROP="-o com.sun:auto-snapshot-desc='$opt_event'"
584584

585585
# ISO style date; fifteen characters: YYYY-MM-DD-HHMM
586586
# On Solaris %H%M expands to 12h34.
587+
# We use the shortfirm -u here because --utc is not supported on macos.
587588
DATE=$(date -u +%F-%H%M)
588589

589590
# The snapshot name after the @ symbol.

0 commit comments

Comments
 (0)