diff options
Diffstat (limited to 'modules/zfssnap/zfssnap.py')
-rw-r--r-- | modules/zfssnap/zfssnap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/zfssnap/zfssnap.py b/modules/zfssnap/zfssnap.py index 7404b453..46f1b2da 100644 --- a/modules/zfssnap/zfssnap.py +++ b/modules/zfssnap/zfssnap.py | |||
@@ -31,7 +31,7 @@ def _now(): | |||
31 | return datetime.now(timezone.utc) | 31 | return datetime.now(timezone.utc) |
32 | 32 | ||
33 | def _snap_name(item, time=_now()): | 33 | def _snap_name(item, time=_now()): |
34 | suffix = re.sub(r'\+00:00$', r'Z', time.isoformat()) | 34 | suffix = re.sub(r'\+00:00$', r'Z', time.isoformat(timespec='seconds')) |
35 | return f'{item}@auto_{suffix}' | 35 | return f'{item}@auto_{suffix}' |
36 | 36 | ||
37 | def _log_cmd(*args): | 37 | def _log_cmd(*args): |