You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2008/04/07 04:08:24 UTC

[jira] Commented: (NET-211) setLenient() does not work across a year boundary

    [ https://issues.apache.org/jira/browse/NET-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586220#action_12586220 ] 

Sebb commented on NET-211:
--------------------------

Test cases added.

Trunk:
     http://svn.apache.org/viewvc?rev=645341&view=rev

NET_2_0:
    http://svn.apache.org/viewvc?rev=645342&view=rev

> setLenient() does not work across a year boundary
> -------------------------------------------------
>
>                 Key: NET-211
>                 URL: https://issues.apache.org/jira/browse/NET-211
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 1.5, 2.0
>            Reporter: Sebb
>
> Extracted from NET-188.
> If today's date is Dec 30 2007, then the short date "Dec 31" parses as Dec 31 2006 if lenientFutureDate is false, and Dec 31 2007 if lenient = true.
> However, if today's date is Dec 31 2007, then the short date "Jan 1" parses as Jan 1 2006 even if lenient = true.
> This is inconsistent.

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