Skip to content

Commit

Permalink
Better format.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildintellect committed Jun 10, 2012
1 parent 095ef6f commit be14c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert.py
Expand Up @@ -41,7 +41,7 @@
"user": n.attrib['user'],
"version": n.attrib['version'],
"timestamp": time.mktime(datetime.strptime(n.attrib['timestamp'], '%Y-%m-%dT%H:%M:%SZ').utctimetuple()),
"datetime": datetime.strptime(n.attrib['timestamp'], '%Y-%m-%dT%H:%M:%SZ').strftime('%b %d %I:%M%p')
"datetime": datetime.strptime(n.attrib['timestamp'], '%Y-%m-%dT%H:%M:%SZ').strftime('%b %d %I:%M %p')
}
}
geojson['features'].append(pt)
Expand Down

0 comments on commit be14c2d

Please sign in to comment.