summaryrefslogtreecommitdiff
path: root/help2man.PL
diff options
context:
space:
mode:
authorBrendan O'Dea <bod@debian.org>2011-05-29 08:43:21 +1000
committerBrendan O'Dea <bod@debian.org>2011-05-29 08:43:21 +1000
commit1be1463988dc142d7e51d72257de3edb6790f3aa (patch)
tree9ae42cc56971ecdeac7d33f6b0efa57aca9af6c0 /help2man.PL
parent84ebbbac2ef5d9636d163b879d8bf0b2cd5b7804 (diff)
downloadhelp2man-1be1463988dc142d7e51d72257de3edb6790f3aa.tar.gz
Allow date format to be localised
Diffstat (limited to 'help2man.PL')
-rwxr-xr-xhelp2man.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/help2man.PL b/help2man.PL
index 39a3fb1..35057d1 100755
--- a/help2man.PL
+++ b/help2man.PL
@@ -331,7 +331,7 @@ sub get_option_value;
my $help_text = get_option_value $ARGV[0], $help_option;
$version_text ||= get_option_value $ARGV[0], $version_option;
-my $date = strftime "%B %Y", localtime;
+my $date = enc strftime _("%B %Y"), localtime;
(my $program = $ARGV[0]) =~ s!.*/!!;
my $package = $program;
my $version;