Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong datetimemin datetimemax in explorer #242

Closed
pat1 opened this issue Dec 2, 2020 · 0 comments
Closed

wrong datetimemin datetimemax in explorer #242

pat1 opened this issue Dec 2, 2020 · 0 comments
Assignees

Comments

@pat1
Copy link
Contributor

pat1 commented Dec 2, 2020

import dballe

with dballe.Explorer("dballe_report_fixed.json") as newexplorer:
    print (newexplorer.stats)
    for cur in newexplorer.query_summary():
        print (cur["datetimemin"],cur["datetimemax"])

output:

python tmp.py|head
ExplorerStats(datetime_min=datetime.datetime(2017, 4, 18, 0, 0), datetime_max=datetime.datetime(2017, 4, 18, 23, 59, 50), count=22755)
2017-01-01 00:00:00 2017-01-01 00:00:00
2017-01-01 00:00:00 2017-01-01 00:00:00
2017-01-01 00:00:00 2017-01-01 00:00:00
2017-01-01 00:00:00 2017-01-01 00:00:00
2017-01-01 00:00:00 2017-01-01 00:00:00
2017-01-01 00:00:00 2017-01-01 00:00:00
2017-01-01 00:00:00 2017-01-01 00:00:00
2017-01-01 00:00:00 2017-01-01 00:00:00
2017-01-01 00:00:00 2017-01-01 00:00:00
...

explorer attached:
explorer.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants