diff --git a/src/tools/msvc/Project.pm b/src/tools/msvc/Project.pm index 6f359bfdbcb8abe9d18ea7e1f4ca7a7a9c759374..0a47e40942fc5efb433f4dbe43eaa3bd924e5c01 100644 --- a/src/tools/msvc/Project.pm +++ b/src/tools/msvc/Project.pm @@ -308,7 +308,7 @@ sub AddResourceFile my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime(time); - my $d = ($year - 100) . "$yday"; + my $d = sprintf("%02d%03d", ($year - 100), $yday); if (Solution::IsNewer("$dir\\win32ver.rc", 'src\port\win32ver.rc')) {