You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File d:\PythonProjects\glassnode-api-python-client\glassnode.py:28, in GlassnodeClient.get(self, url, a, i, c, s, u)
26 if s is not None:
27 try:
---> 28 p['s'] = iso8601.parse_date(s).strftime('%s')
29 except ParseError:
30 p['s'] = s
File d:\PythonProjects\glassnode-api-python-client\glassnode.py:28, in GlassnodeClient.get(self, url, a, i, c, s, u) 26 if s is not None: 27 try: ---> 28 p['s'] = iso8601.parse_date(s).strftime('%s') 29 except ParseError: 30 p['s'] = s
Activity
demetrius2017 commentedon Mar 25, 2022
fixed by changing glassnode.py
#28 p['s'] = int(iso8601.parse_date(s).timestamp())
#34 p['u'] = int(iso8601.parse_date(u).timestamp())