struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrea-ligios <...@git.apache.org>
Subject [GitHub] struts pull request: Adding support for RFC3339 dates with only th...
Date Thu, 08 Oct 2015 15:35:03 GMT
Github user andrea-ligios commented on the pull request:

    https://github.com/apache/struts/pull/52#issuecomment-146581055
  
    @wolpi Thanky you! You could vote the [JIRA](https://issues.apache.org/jira/browse/WW-4551)
if interested :) 
    
    The tests are in this file: 
    
    https://github.com/andrea-ligios/struts/blob/d95fc63992f3892519d970b07052776e0401003a/core/src/test/java/com/opensymphony/xwork2/conversion/impl/XWorkConverterTest.java
    
    The test could be added in the `testDateConversion()` method, the code should be:
    
        Date dateRfc3339 = (Date) converter.convertValue(context, null, null, null, "2001-01-10",
Date.class);
        assertEquals(date, dateRfc3339);
    
    Could you add it to that file ? I'm just new to the whole thing (Git, GitHub, etc...).
Thanks


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message