From 0d24899b78307e33d72a693d33178343069187dd Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 2 Apr 2017 21:35:57 +0200 Subject: Move format_timestamp to Helper Signed-off-by: Florian Pritz --- script/borg-restore.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') diff --git a/script/borg-restore.pl b/script/borg-restore.pl index 1f66fbd..1365e2e 100755 --- a/script/borg-restore.pl +++ b/script/borg-restore.pl @@ -187,7 +187,7 @@ sub user_select_archive { my $counter = 0; for my $archive (@$archives) { - printf "\e[0;33m%3d: \e[1;33m%s\e[0m %s\n", $counter++, $app->format_timestamp($archive->{modification_time}), $archive->{archive}; + printf "\e[0;33m%3d: \e[1;33m%s\e[0m %s\n", $counter++, App::BorgRestore::Helper::format_timestamp($archive->{modification_time}), $archive->{archive}; } printf "\e[0;34m%s: \e[0m", "Enter ID to restore (Enter to skip)"; -- cgit v1.2.3-24-g4f1b