You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/11/09 05:37:32 UTC

DO NOT REPLY [Bug 37419] New: - Date Parse Validation

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

           Summary: Date Parse Validation
           Product: Commons
           Version: 1.0 Alpha
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: FeedParser
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: brunotg@globo.com
                CC: brunotg@globo.com


Parse validation classes 
org.apache.commons.feedparser.tools.ISO8601DateParser.java
org.apache.commons.feedparser.tools.RFC822DateParser.java
have to specify the Locale.ENGLISH when defining the SimpleDateFormat.
I got a problem running the feedparser on machines that have the default
language different than english.
I changed both classes to specify the Locale on SimpleDateFormat instanciation
and the date parsers worked just fine on any machine with any language.

Regards,
Bruno Goyanna

-- 
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org