Set the snapshots to use UTC time, which makes the date/time display correctly in Windows 7 Previous Versions.

This commit is contained in:
HawkOwl 2013-06-24 21:48:47 +08:00
parent dd27aa1c56
commit 6ea2d7f5b1

View File

@ -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}"