Skip to content

Instantly share code, notes, and snippets.

@mattd
Created February 2, 2011 15:44
Show Gist options
  • Save mattd/807876 to your computer and use it in GitHub Desktop.
Save mattd/807876 to your computer and use it in GitHub Desktop.
entries = {}
for entry in data:
ts = make_timestamp('{0} {1}'.format(entry['date'], entry['time']),
'%b.%d %Y %I:%M %p')
entries[ts] = entry
return entries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment