diff options
author | Brendan O'Dea <bod@debian.org> | 2011-05-29 08:43:21 +1000 |
---|---|---|
committer | Brendan O'Dea <bod@debian.org> | 2011-05-29 08:43:21 +1000 |
commit | 1be1463988dc142d7e51d72257de3edb6790f3aa (patch) | |
tree | 9ae42cc56971ecdeac7d33f6b0efa57aca9af6c0 /help2man.PL | |
parent | 84ebbbac2ef5d9636d163b879d8bf0b2cd5b7804 (diff) | |
download | help2man-1be1463988dc142d7e51d72257de3edb6790f3aa.tar.gz |
Allow date format to be localised
Diffstat (limited to 'help2man.PL')
-rwxr-xr-x | help2man.PL | 2 |
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; |