Hello all, I am trying to get some event data for a particular date using mixpanel_utils python library. This is my code:
requested_date = '2025-03-21'
script = f"""\
function main() {{
return Events({{
from_date: "{requested_date}",
to_date: "{requested_date}"
}})
}}"""
result = mputils.query_jql(script)
But in the result I get events that are from other date as well. My I know what is going on? I could not find the issue. The api docs here does the same using isoformat dates, so not sure where it is going wrong:
https://docs.mixpanel.com/docs/reports/apps/jql#api/params