Fixes in libraries
This commit is contained in:
parent
6a68dcd47c
commit
4d814326e0
6 changed files with 41 additions and 37 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue