Ticket #1266 (closed defect: fixed)
Timestamps without microseconds causing exception
Reported by: | dread | Owned by: | dread |
---|---|---|---|
Priority: | critical | Milestone: | ckan-sprint-2011-10-28 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
I'm not sure why some timestamps are missing microseconds in the ckan.net data, but plenty seem to. This causes this exception when viewing the package rss feed:
URL: http://ckan.net/package/history/sfk_publishing?format=atom&days=7 In Module ckan.lib.helpers:227 in date_str_to_datetime WebApp Error: <type 'exceptions.ValueError'>: time data '2008-04-13T20:40:20' does not match format '%Y-%m-%dT%H:%M:%S.%f'
Only seen with ckan 1.4.3b
Change History
Note: See
TracTickets for help on using
tickets.
Fixed in 987dc4fe078e on 1.4.3 branch and default.