Skip to content

Instantly share code, notes, and snippets.

@Viswanathantv
Created September 9, 2014 12:15
Show Gist options
  • Save Viswanathantv/87ee07e426ccb3e663ec to your computer and use it in GitHub Desktop.
Save Viswanathantv/87ee07e426ccb3e663ec to your computer and use it in GitHub Desktop.
sfdasd
{
"error": "(DataError) time zone \"None\" not recognized\n 'SELECT count(DISTINCT trip_us.driver_id) AS user_count, sum(trip_us.drive_time) AS drive_time, sum(trip_us.distance) AS distance \\nFROM trip_us, (SELECT driver.driver_id AS driver_id \\nFROM driver \\nWHERE driver.application_id = %(application_id_1)s) AS driver_query \\nWHERE trip_us.driver_id = driver_query.driver_id AND local_time(trip_us.timestamp, trip_us.timezone) >= %(local_time_1)s AND local_time(trip_us.timestamp, trip_us.timezone) <= %(local_time_2)s' {'local_time_2': '2014-09-07', 'application_id_1': 'umano_app', 'local_time_1': '2014-09-01'}"
}
http://api.zendrive.com/v1/score?apikey=2RifMKrPczDex1jlfEFOwfnNkOtfIJs5&start_date=2014-9-01&end_date=2014-9-07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment