mirror of https://github.com/jimsalterjrs/sanoid
Merge pull request #1044 from numerfolt/master
Change syncoid snapshots date and time divider from ":" to "_"
This commit is contained in:
commit
07e32cad71
2
syncoid
2
syncoid
|
|
@ -2194,7 +2194,7 @@ sub getdate {
|
|||
$date{'mday'} = sprintf ("%02u", $mday);
|
||||
$date{'mon'} = sprintf ("%02u", ($mon + 1));
|
||||
$date{'tzoffset'} = sprintf ("GMT%s%02d:%02u", $sign, $hours, $minutes);
|
||||
$date{'stamp'} = "$date{'year'}-$date{'mon'}-$date{'mday'}:$date{'hour'}:$date{'min'}:$date{'sec'}-$date{'tzoffset'}";
|
||||
$date{'stamp'} = "$date{'year'}-$date{'mon'}-$date{'mday'}_$date{'hour'}:$date{'min'}:$date{'sec'}-$date{'tzoffset'}";
|
||||
return %date;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue