aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-11 06:22:11 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-11 06:22:11 +0000
commit201bc71ae4c3bf6fc110bd870737c76adcb79602 (patch)
treeda31f2965ee09145edf23fb66f46f0440e8035ef
parent6352710317cb8a8a1a8879ca31ba9cb9309c1dd0 (diff)
downloadrpmdrake-201bc71ae4c3bf6fc110bd870737c76adcb79602.tar
rpmdrake-201bc71ae4c3bf6fc110bd870737c76adcb79602.tar.gz
rpmdrake-201bc71ae4c3bf6fc110bd870737c76adcb79602.tar.bz2
rpmdrake-201bc71ae4c3bf6fc110bd870737c76adcb79602.tar.xz
rpmdrake-201bc71ae4c3bf6fc110bd870737c76adcb79602.zip
(localtime2changelog) use localized date format (sadly, in !remove mode, we
rely on rpm which doesn't use localized format but only localized names of days & monthes)
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 424cec97..0163afda 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -252,7 +252,7 @@ sub pkg2medium {
$tmp;
}
-sub localtime2changelog { strftime("%a %b %e %Y", localtime($_[0])) }
+sub localtime2changelog { strftime("%c", localtime($_[0])) }
sub extract_header {
my ($pkg, $urpm) = @_;