You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2007/02/02 03:45:05 UTC
[jira] Commented: (SOLR-134) Handle Time values in fields correctly
(UTC + ISO 8601)
[ https://issues.apache.org/jira/browse/SOLR-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469643 ]
Erik Hatcher commented on SOLR-134:
-----------------------------------
1) Failure:
test_xml_date(FieldTest) [./test/unit/field_test.rb:27]:
<"<field name='what_time_should_we_party_as_if_it_is'>1999-12-31T08:00:00Z</field>"> expected but was
<"<field name='what_time_should_we_party_as_if_it_is'>1999-12-31T05:00:00Z</field>">.
I'm cool with this sort of patch though, so once we get the test working, consider it committed.
> Handle Time values in fields correctly (UTC + ISO 8601)
> -------------------------------------------------------
>
> Key: SOLR-134
> URL: https://issues.apache.org/jira/browse/SOLR-134
> Project: Solr
> Issue Type: Improvement
> Components: clients - ruby - flare
> Reporter: Coda Hale
> Attachments: solrb_xml_time.diff
>
>
> Here's a patch for automatically converting Time objects in fields to the UTC/ISO 8601 format that Solr can parse.
> Which means this will work:
> connection.add(:id => 1, :created_at => Time.now)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.