commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (NET-211) setLenient() does not work across a year boundary
Date Mon, 07 Apr 2008 10:10:25 GMT

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

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

Applied fixes to trunk:

http://svn.apache.org/viewvc?rev=645433&view=rev (code)
http://svn.apache.org/viewvc?rev=645435&view=rev (tests)

Applied fixes to NET_2_0 branch:

http://svn.apache.org/viewvc?rev=645441&view=rev (code)
http://svn.apache.org/viewvc?rev=645439&view=rev (tests)

> 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.


Mime
View raw message