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 12:18:25 UTC
[jira] Resolved: (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:all-tabpanel ]
Sebb resolved NET-211.
----------------------
Resolution: Fixed
Fix Version/s: 2.0
1.5
Fixes have been applied to trunk and NET_2_0 branches
> 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
> Fix For: 1.5, 2.0
>
>
> 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.