diff --git a/lib/Slic3r/Config.pm b/lib/Slic3r/Config.pm index 85cbf1dba..8def706cf 100644 --- a/lib/Slic3r/Config.pm +++ b/lib/Slic3r/Config.pm @@ -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}}) {