diff options
author | Karl Berry <karl@freefriends.org> | 2010-10-24 23:16:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-10-24 23:16:59 +0000 |
commit | 57c26fc870961733753e15f058db57f7738c0d46 (patch) | |
tree | 10c1752122472869054776253d0522713ce4ab6a /Master | |
parent | b8d6ada9e3bfbd34a27ceb918fdf23dd7d188e6f (diff) |
(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
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 4 |
1 files 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<pkg> given but no I<rev>, list all available backup revisions of I<pkg>. 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<pkg> and I<rev>, tries to restore the package from the specified backup. |