grafana-redistimeseries icon indicating copy to clipboard operation
grafana-redistimeseries copied to clipboard

use pyts to remove time stamp error

Open jphaugla opened this issue 6 years ago • 5 comments

This fixes the following error which is called out but not resolved in another pull request:

File "/app/GrafanaDatastoreServer.py", line 69, in query stime = (dateutil.parser.parse(request['range']['from']) - EPOCH) / timedelta(milliseconds=1) TypeError: can't subtract offset-naive and offset-aware datetimes

jphaugla avatar Dec 20 '19 19:12 jphaugla

you do not want the second commit in my pull request. The second commit is really for a local more isolated project of mine. So, you want to consider the edce251 commit but not the 9cdca90 commit.

jphaugla avatar Dec 20 '19 19:12 jphaugla

This pull request introduces 1 alert when merging a34164e5f5699bab9e76b812d352ef116b613bc3 into b0bfb8c69fb792d398c3d2603daadc88a35737ec - view on LGTM.com

new alerts:

  • 1 for Unused local variable

lgtm-com[bot] avatar Mar 12 '20 17:03 lgtm-com[bot]

This pull request introduces 7 alerts when merging 144cf95eca53424547a8fc57c2d2a8c61d5329ab into b0bfb8c69fb792d398c3d2603daadc88a35737ec - view on LGTM.com

new alerts:

  • 5 for Unused import
  • 2 for Unused local variable

lgtm-com[bot] avatar Apr 08 '20 22:04 lgtm-com[bot]

This pull request introduces 7 alerts when merging 4e0f04be2209c9840b1d6677d1b386b0fc51d9b4 into b0bfb8c69fb792d398c3d2603daadc88a35737ec - view on LGTM.com

new alerts:

  • 5 for Unused import
  • 2 for Unused local variable

lgtm-com[bot] avatar Apr 09 '20 13:04 lgtm-com[bot]

This pull request introduces 6 alerts when merging 89b14aac7fc17fa65e070aa5962f61ab2a590adb into b0bfb8c69fb792d398c3d2603daadc88a35737ec - view on LGTM.com

new alerts:

  • 5 for Unused import
  • 1 for Syntax error

lgtm-com[bot] avatar Apr 09 '20 21:04 lgtm-com[bot]