[ 
https://issues.apache.org/jira/browse/LUCENE-6564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14585251#comment-14585251
 ] 

Ramkumar Aiyengar commented on LUCENE-6564:
-------------------------------------------

Frankly, removing date information seems better, either we should have 
something with a reasonable accuracy, or not have it at all.. Second resolution 
is not reasonable IMO..

The other option here is to use a threadlocal, but you could argue that adds 
complexity as well..

> Normalize date format for IW in unit tests
> ------------------------------------------
>
>                 Key: LUCENE-6564
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6564
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/test
>            Reporter: Ramkumar Aiyengar
>            Assignee: Ramkumar Aiyengar
>            Priority: Minor
>             Fix For: 5.3
>
>         Attachments: LUCENE-6564.patch
>
>
> Noticed while debugging some IW output in an unit test that milliseconds were 
> not output in the date, changed this to reuse the date format used by 
> {{PrintStreamInfoStream}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to