Permalink
Browse files

Added a comment to explain the use of h='%s0%s' % (h[0], h[1])

  • Loading branch information...
1 parent bb769d3 commit 76e4af9109a298aa0e2d881427444f901657f356 @cypha cypha committed Feb 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 velruse/providers/facebook.py
@@ -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])

0 comments on commit 76e4af9

Please sign in to comment.