Module: tools Branch: master Commit: 6c5dbad3630f5860e8fb0bbea56e335f638d2c99 URL: http://source.winehq.org/git/tools.git/?a=commit;h=6c5dbad3630f5860e8fb0bbea... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Tue Mar 21 00:08:41 2017 +0100 winetest/build-index: The system locale should not impact the date formatting code. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- winetest/build-index | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/winetest/build-index b/winetest/build-index index 9a67d15..e811b62 100755 --- a/winetest/build-index +++ b/winetest/build-index @@ -62,7 +62,8 @@ sub get_build_info($) return ($date, $subject); } -use POSIX qw(strftime); +use POSIX qw(locale_h strftime); +setlocale(LC_ALL, "C"); sub short_date($) {