Include timestamp in .ini files
This commit is contained in:
parent
9f719d42bc
commit
f0579e59bd
1 changed files with 2 additions and 1 deletions
|
@ -737,7 +737,8 @@ sub write_ini {
|
|||
|
||||
open my $fh, '>', $file;
|
||||
binmode $fh, ':utf8';
|
||||
printf $fh "# generated by Slic3r $Slic3r::VERSION\n";
|
||||
my $localtime = localtime;
|
||||
printf $fh "# generated by Slic3r $Slic3r::VERSION on $localtime\n";
|
||||
foreach my $category (sort keys %$ini) {
|
||||
printf $fh "\n[%s]\n", $category if $category ne '_';
|
||||
foreach my $key (sort keys %{$ini->{$category}}) {
|
||||
|
|
Loading…
Reference in a new issue