Fixes in libraries

This commit is contained in:
Antonio de la Rosa 2021-05-29 14:46:25 +02:00
parent 6a68dcd47c
commit 4d814326e0
6 changed files with 41 additions and 37 deletions

View file

@ -153,10 +153,10 @@ def obtain_timestamp(timeform, local=False, tz=''):
t=arrow.arrow.Arrow(y, m, d, h, mi, s).to(tz)
timestamp=t.timestamp
timestamp=t.timestamp()
else:
timestamp=arrow.arrow.Arrow(y, m, d, h, mi, s).timestamp
timestamp=arrow.arrow.Arrow(y, m, d, h, mi, s).timestamp()
return timestamp