summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-04-02 21:35:57 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-04-02 22:31:49 +0200
commit0d24899b78307e33d72a693d33178343069187dd (patch)
tree7d595561cade0f4f8557edf12a754cb23ddf2932 /script
parent9b9bf92e5f83102742036aa98a4c6c73f758c302 (diff)
downloadApp-BorgRestore-0d24899b78307e33d72a693d33178343069187dd.tar.gz
App-BorgRestore-0d24899b78307e33d72a693d33178343069187dd.tar.xz
Move format_timestamp to Helper
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'script')
-rwxr-xr-xscript/borg-restore.pl2
1 files changed, 1 insertions, 1 deletions
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)";