Skip to content

Commit

Permalink
Added a comment to explain the use of h='%s0%s' % (h[0], h[1])
Browse files Browse the repository at this point in the history
  • Loading branch information
thapar committed Feb 20, 2012
1 parent bb769d3 commit 76e4af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velruse/providers/facebook.py
Expand Up @@ -135,7 +135,7 @@ def extract_fb_data(data):
else:
h, m = parts[0], '00'
if 1 < len(h) < 3:
h = '%s0%s' % (h[0], h[1])
h = '%s0%s' % (h[0], h[1]) ### e.g. -5 --> -05
elif len(h) == 1:
h = h[0]
data['utfOffset'] = ':'.join([h, m])
Expand Down

0 comments on commit 76e4af9

Please sign in to comment.