Package: libdate-manip-perl
Version: 5.42a-2
Severity: minor
Tags: patch l10n
Executive summary:
==================
47c47
< $Cnf{"GlobalCnf"}="";
---
> $Cnf{"GlobalCnf"}='/etc/DateManip.cnf';
Supporting plea:
================
The default setup for Date::Manip assumes US-style middle-endian
dates, which is likely to be wrong more often than it's right. It's
possible for individual users to override the defaults by creating a
~/.DateManip.cnf, but per-site configuration would make more sense.
A mechanism is in place that would make Date::Manip use such a
"GlobalCnf"... but at present no path is assigned to the variable.
Admins are left having to edit /usr/share/perl5/Date/Manip.pm,
either to point at a DateManip.cnf or to fix the default directly.
There's no need for the package to include a conffile, but the
change given above would save unamerican admins like me from having
to guard a modified Manip.pm against being overwritten.
That oneline fix again in unified-diff format:
--- /usr/share/perl5/Date/Manip.pm 2003-07-08 19:02:46.000000000 +0100
+++ /usr/share/perl5/Date/Manip.pm.new 2005-03-09 02:19:34.000000000 +0000
@@ -44,7 +44,7 @@
# Location of a the global config file. Tilde (~) expansions are allowed.
# This should be set in Date_Init arguments.
-$Cnf{"GlobalCnf"}="";
+$Cnf{"GlobalCnf"}='/etc/DateManip.cnf';
$Cnf{"IgnoreGlobalCnf"}="";
# Name of a personal config file and the path to search for it. Tilde (~)
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.9
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages libdate-manip-perl depends on:
ii perl 5.8.4-6 Larry Wall's Practical Extraction
-- no debconf information
--
JBR
Ankh kak! (Ancient Egyptian blessing)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]