~ubuntu-branches/ubuntu/maverick/gwibber/maverick-updates

« back to all changes in this revision

Viewing changes to gwibber/microblog/util/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2010-10-05 09:57:28 UTC
  • mfrom: (1.1.33 upstream)
  • Revision ID: james.westby@ubuntu.com-20101005095728-xxken2wb2x8xypw1
Tags: 2.32.0.1-0ubuntu1
* New upstream release
  -  Re-enable the first run experience, if there are no accounts configured
     run gwibber-accounts (LP: #654811)

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
COUNT = 200
15
15
 
16
16
def parsetime(t):
17
 
  locale.setlocale(locale.LC_TIME, '')
18
 
  loc = locale.getlocale(locale.LC_TIME)
19
17
  locale.setlocale(locale.LC_TIME, 'C')
20
18
  result = mx.DateTime.Parser.DateTimeFromString(t)
21
 
  locale.setlocale(locale.LC_TIME, loc)
 
19
  locale.setlocale(locale.LC_TIME, '')
22
20
  return result.ticks()
23
21
 
24
22
URL_SCHEMES = ('http', 'https', 'ftp', 'mailto', 'news', 'gopher',