incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cory Johns" <masterbunn...@users.sf.net>
Subject [allura:tickets] #6903 GC date parsing error
Date Wed, 20 Nov 2013 19:48:31 GMT
- **status**: in-progress --> code-review



---

** [tickets:#6903] GC date parsing error**

**Status:** code-review
**Labels:** import google-code 
**Created:** Wed Nov 20, 2013 07:26 PM UTC by Dave Brondsema
**Last Updated:** Wed Nov 20, 2013 07:40 PM UTC
**Owner:** Cory Johns

~~~~
  File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 132, in import_tool
    self.process_fields(ticket, issue)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 171, in process_fields
    ticket.created_date = datetime.strptime(issue.get_issue_created_date(), '%c')
  File "/usr/lib64/python2.7/_strptime.py", line 325, in _strptime
    (data_string, format))
ValueError: time data 'Tue Jul  9 19:03:12 2013' does not match format '%c'
~~~~

Maybe we shouldn't use %c which is locale-dependent?


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message