From ca41f9ae96df1e33059adf9994840f4017b8dc8c Mon Sep 17 00:00:00 2001 From: Andreas Romeyke <art1@andreas-romeyke.de> Date: Mon, 14 Dec 2020 11:11:52 +0100 Subject: [PATCH] - changed timestamp output using localtime with Timezone information --- deep_fixitycheck.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deep_fixitycheck.pl b/deep_fixitycheck.pl index 9d0da55..fafc5e4 100644 --- a/deep_fixitycheck.pl +++ b/deep_fixitycheck.pl @@ -373,7 +373,7 @@ if (defined $search_dir && -d "$search_dir") { } if ($result->{errors} > 0) { - my $timestamp = strftime("%Y-%m-%d %H:%M:%S", gmtime(time)); + my $timestamp = strftime("%Y-%m-%d %H:%M:%S %z (%Z)", localtime(time)); path($report_file)->append_utf8("$timestamp, IE $_ with following errors:\n"); foreach my $errors (@{ $result->{error_description} }) { path($report_file)->append_utf8("\t$errors\n"); -- GitLab