Created
February 2, 2011 15:44
-
-
Save mattd/807876 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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