From 0d2cbe7703b6a600e61b600846a339af8fde5441 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 27 Jul 2018 13:32:13 +0200 Subject: [PATCH] Use now() helper in ProcessAdditional class --- Blacklight/processing/post/ProcessAdditional.php | 2 +- Changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Blacklight/processing/post/ProcessAdditional.php b/Blacklight/processing/post/ProcessAdditional.php index 9f109da82..01ca5e171 100755 --- a/Blacklight/processing/post/ProcessAdditional.php +++ b/Blacklight/processing/post/ProcessAdditional.php @@ -645,7 +645,7 @@ class ProcessAdditional $this->_echo( PHP_EOL. 'Additional post-processing, started at: '. - date('D M d, Y G:i a'). + now()->format('D M d, Y G:i a'). PHP_EOL. 'Downloaded: (xB) = yEnc article, f= Failed ;Processing: z = ZIP file, r = RAR file'. PHP_EOL. diff --git a/Changelog b/Changelog index 0210633d2..076066c69 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-07-27 DariusIII + * Chg: Use now() helper in ProcessAdditional class * Chg: Use human_filesize helper function in ProcessAdditional class * Chg: Update phpunit.xml, move install test to front of testsuite block * Fix: Fix checks for roles that can preview