[ckan-dev] Date string errors with schema-2.0.xml
David Raznick
david.raznick at okfn.org
Wed Dec 12 18:40:29 UTC 2012
Hello,
I might not have time to do do this as quickly as you would like, as I can
not think of an easy way to test it.
The other option for you is to do is you could convert them or remove them
yourself in an IPackageController.before_index(pkg_dict) call? This at
least would make sure it would defiantly work for your case.
Thanks
David
On Wed, Dec 12, 2012 at 5:48 PM, Sean Hammond <sean.hammond at okfn.org> wrote:
> > The other option is to cast anything ending in _date to a datetime at the
> > end of the core indexing code. Would this fix be good enough? We would
> > ignore dates that we could not parse, but that would mean that only that
> > field would not get indexed not the whole dataset.
>
> The deposit_date and update_date fields on pdeu don't seem to be used
> for anything, they're just put there by the data_publica harvester, so I
> don't think it would be a problem if those fields were not indexed.
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20121212/da339534/attachment-0001.html>
More information about the ckan-dev
mailing list