From 04f0f68fe4a9908c95b75aa53503d185b570a427 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Sat, 26 Aug 2017 14:31:44 +0100 Subject: [PATCH] fixed getTimestamp error --- src/Template/Main/tx.ctp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Template/Main/tx.ctp b/src/Template/Main/tx.ctp index e306b45..59805b0 100644 --- a/src/Template/Main/tx.ctp +++ b/src/Template/Main/tx.ctp @@ -29,7 +29,7 @@ \DateTime::createFromFormat('U', $tx->TransactionTime)->format('j M Y H:i:s') . ' UTC' ?> TransactionTime > $tx->Created->getTimestamp()): - $diffSeconds = $tx->TransactionTime - $tx->Created->Timestamp(); + $diffSeconds = $tx->TransactionTime - $tx->Created->getTimestamp(); if ($diffSeconds <= 60) { echo sprintf(' (+%s second%s)', $diffSeconds, $diffSeconds == 1 ? '' : 's'); } else {