revert from utc to local time
This commit is contained in:
parent
0471a2d6e1
commit
08ebefcb6e
1 changed files with 2 additions and 2 deletions
|
@ -249,9 +249,9 @@ def loop_body(opts, gstate):
|
||||||
# save off counter value for script restart
|
# save off counter value for script restart
|
||||||
points[-1]["fields"]["counter"] = counter + count
|
points[-1]["fields"]["counter"] = counter + count
|
||||||
|
|
||||||
#now = time.time()
|
now = time.time()
|
||||||
# work with UTC here
|
# work with UTC here
|
||||||
now = time.mktime(datetime.utcnow().timetuple())
|
# now = time.mktime(datetime.utcnow().timetuple())
|
||||||
rc = dish_common.get_data(opts, gstate, cb_add_item, cb_add_sequence, add_bulk=cb_add_bulk)
|
rc = dish_common.get_data(opts, gstate, cb_add_item, cb_add_sequence, add_bulk=cb_add_bulk)
|
||||||
if rc:
|
if rc:
|
||||||
return rc
|
return rc
|
||||||
|
|
Loading…
Reference in a new issue