From 57c26fc870961733753e15f058db57f7738c0d46 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 24 Oct 2010 23:16:59 +0000 Subject: (report_backup_revdate): comma in YYYY-MM-DD, HH:MM seems superfluous, so removed it. git-svn-id: svn://tug.org/texlive/trunk@20167 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/scripts/texlive/tlmgr.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 59923ea66d4..1e18da8f8d1 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -1507,7 +1507,7 @@ sub action_restore { my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($revs{$rs}); # localtime returns dates starting from 1900, and the month is 0..11 - $dstr = sprintf "%04d-%02d-%02d, %02d:%02d", + $dstr = sprintf "%04d-%02d-%02d %02d:%02d", $year+1900, $mon+1, $mday, $hour, $min; } print "$rs ($dstr) "; @@ -5292,7 +5292,7 @@ With I given but no I, list all available backup revisions of I. When listing available packages tlmgr shows the revision and in -parenthesis the creation time if available (in format yyyy-mm-dd, hh:mm). +parenthesis the creation time if available (in format yyyy-mm-dd hh:mm). With both I and I, tries to restore the package from the specified backup. -- cgit v1.2.3