diff --git a/silkaj/membership.py b/silkaj/membership.py index a9b63ffb7622ce8e3b3150ab8a225f5565d1f7ff..85497b72d9e6be7530ed9f7d26f20431569914d8 100644 --- a/silkaj/membership.py +++ b/silkaj/membership.py @@ -138,7 +138,10 @@ async def display_confirmation_table(identity_uid, pubkey, identity_timestamp): block = await client(bma.blockchain.block, identity_timestamp.number) table.append( - ["Identity published", pendulum.from_timestamp(block["time"]).format("LL")] + [ + "Identity published", + pendulum.from_timestamp(block["time"], tz="local").format("LL"), + ] ) params = await BlockchainParams().params diff --git a/tests/test_membership.py b/tests/test_membership.py index 7ae7f5fb64930299c0d25e54034c93e96d3b79c5..71c3309c73a47b3d23afa2258eb62a6e0b4fcc64 100644 --- a/tests/test_membership.py +++ b/tests/test_membership.py @@ -180,7 +180,10 @@ async def test_display_confirmation_table( block = await client(bma.blockchain.block, identity_timestamp.number) table.append( - ["Identity published", pendulum.from_timestamp(block["time"]).format("LL")], + [ + "Identity published", + pendulum.from_timestamp(block["time"], tz="local").format("LL"), + ], ) params = await BlockchainParams().params