DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30719>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30719 ------- Additional Comments From [EMAIL PROTECTED] 2005-04-17 23:00 ------- Well, it may not have been fixed at the time I marked it so, but I believe that with my most recent changes of this weekend, it is. Mr. Mortenson: Here is the story as far as the numeric date format goes. Back in January, in response to several infrequent but persistent complaints about being unable to parse dates written with month names in languages other than English (leaving aside for the moment languages like Japanese which require encoding changes as you know), a new system based on the new class FTPClientConfig was created. This allows, among other things, a user to pass to the parser a SimpleDateFormat string to parse a date not formatted in the "standard" way, as well as to pass in a set of month names other than those of the locale in which the client is operating. Somewhat later, a user informed us (it was a first for us) that there now existed unix FTP servers that used a numeric date format. Thinking that I had fortuitously solved that problem without even realizing it, I pointed him at the new code. Turned out, it didn't quite work - the user could pass in the new date format, but there was another piece of code that pulled out the Date portion of the listing and sent it to the DateFormat for parsing. That part did not work with the all-numeric date format. After the fixes of this weekend, it now does. This is why the bug is marked fixed. However, it's not seamless. The default date format is still the classic "MMM dd yyyy" one, not the yyyy-MM-dd that you need to handle all-numeric formatted dates. There is a backward-compatibility problem with the servers that do not use the all-numeric format. It is my fond wish that the all-numeric format will be adopted soon and become ubiquitous. Then we can think about changing the default behavior. But for now, if you construct the parser with the constructor that takes an FTPClientConfig properly initialized you should be able to get this to work. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
