summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbyteback-snapshot4
1 files changed, 2 insertions, 2 deletions
diff --git a/byteback-snapshot b/byteback-snapshot
index c59aa18..0e5a362 100755
--- a/byteback-snapshot
+++ b/byteback-snapshot
@@ -56,7 +56,7 @@ end
# Represent a directory full of backups where "current" is a subvolume
# which is snapshotted to frozen backup directories called e.g.
-# "yyyy-mm-ddThh:mm".
+# "yyyy-mm-ddThh:mm+zzzz".
#
class BackupDirectory
attr_reader :dir
@@ -144,7 +144,7 @@ class BackupDirectory
end
def snapshot_path(time=Time.now)
- "#{dir.path}/#{time.strftime("%Y-%m-%dT%H:%M")}"
+ "#{dir.path}/#{time.strftime("%Y-%m-%dT%H:%M%z")}"
end
protected