You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Waddle (JIRA)" <ji...@apache.org> on 2010/10/26 18:34:19 UTC

[jira] Created: (SOLR-2201) DIH - Support specific timezones with formatDate function

DIH - Support specific timezones with formatDate function
---------------------------------------------------------

                 Key: SOLR-2201
                 URL: https://issues.apache.org/jira/browse/SOLR-2201
             Project: Solr
          Issue Type: Improvement
          Components: contrib - DataImportHandler
    Affects Versions: 1.4.1
            Reporter: Mark Waddle


For some cases it is useful to be able to print a date in a specific timezone, such as UTC. This support should be added to the formatDate function.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (SOLR-2201) DIH - Support specific timezones with formatDate function

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925048#action_12925048 ] 

Robert Muir commented on SOLR-2201:
-----------------------------------

Mark, this makes sense to me, especially given the Timezone/Locale support here in DIH depends on the JRE defaults (SOLR-1916)

Is it possible you could add a unit test that explicitly sets the timezone?


> DIH - Support specific timezones with formatDate function
> ---------------------------------------------------------
>
>                 Key: SOLR-2201
>                 URL: https://issues.apache.org/jira/browse/SOLR-2201
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4.1
>            Reporter: Mark Waddle
>         Attachments: SOLR-2201.patch
>
>
> For some cases it is useful to be able to print a date in a specific timezone, such as UTC. This support should be added to the formatDate function.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Updated: (SOLR-2201) DIH - Support specific timezones with formatDate function

Posted by "Mark Waddle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Waddle updated SOLR-2201:
------------------------------

    Attachment: SOLR-2201.patch

Uploading patch to allow specification of a specific timezone for the formatDate function.

> DIH - Support specific timezones with formatDate function
> ---------------------------------------------------------
>
>                 Key: SOLR-2201
>                 URL: https://issues.apache.org/jira/browse/SOLR-2201
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4.1
>            Reporter: Mark Waddle
>         Attachments: SOLR-2201.patch
>
>
> For some cases it is useful to be able to print a date in a specific timezone, such as UTC. This support should be added to the formatDate function.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (SOLR-2201) DIH - Support specific timezones with formatDate function

Posted by "Mark Waddle (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12930812#action_12930812 ] 

Mark Waddle commented on SOLR-2201:
-----------------------------------

Robert, I was having problems getting the unit tests compiling and I have also begun working on other things at my company. I might get to this, however it will likely not be for months.
All developers, If someone out there could help by creating a good unit test that would be appreciated. It is probably very quick and easy for an experienced Solr dev.

> DIH - Support specific timezones with formatDate function
> ---------------------------------------------------------
>
>                 Key: SOLR-2201
>                 URL: https://issues.apache.org/jira/browse/SOLR-2201
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4.1
>            Reporter: Mark Waddle
>         Attachments: SOLR-2201.patch
>
>
> For some cases it is useful to be able to print a date in a specific timezone, such as UTC. This support should be added to the formatDate function.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org