Issue Details (XML | Word | Printable)

Key: NET-211
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Sebb
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Net

setLenient() does not work across a year boundary

Created: 07/Apr/08 01:35 AM   Updated: 07/Apr/08 10:18 AM
Return to search
Component/s: None
Affects Version/s: 2.0, 1.5
Fix Version/s: 2.0, 1.5

Time Tracking:
Not Specified

Issue Links:
Reference
 

Resolution Date: 07/Apr/08 10:18 AM


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Sebb added a comment - 07/Apr/08 01:37 AM
Extract an outstanding issue from NET-188

Sebb added a comment - 07/Apr/08 02:07 AM


Sebb added a comment - 07/Apr/08 10:18 AM
Fixes have been applied to trunk and NET_2_0 branches