Details

    • Type: Enhancement Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Blocker Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.0.M5
    • Component/s: site
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      Dates will be sent to the server in the format yyyy-mm-dd and should be returned in that same format with the month starting at 1 for January, not 0

        Gliffy Diagrams

          Activity

          Hide
          Bruno Oliveira added a comment -

          Hi Kris, please help me to reproduce the error:

          I'm sending a POST to http://localhost:8080/todo-server/rest/task with the content:

          {"version": "1","title": "test", "description":"mydescription", "date":"2012-01-08"}

          The return from GET http://localhost:8080/todo-server/rest/task was:

          [

          {"id":1,"version":1,"title":"test","description":"mydescription","date":"2012-01-07","tags":[]}

          ]

          Show
          Bruno Oliveira added a comment - Hi Kris, please help me to reproduce the error: I'm sending a POST to http://localhost:8080/todo-server/rest/task with the content: {"version": "1","title": "test", "description":"mydescription", "date":"2012-01-08"} The return from GET http://localhost:8080/todo-server/rest/task was: [ {"id":1,"version":1,"title":"test","description":"mydescription","date":"2012-01-07","tags":[]} ]
          Hide
          Bruno Oliveira added a comment -
          Show
          Bruno Oliveira added a comment - Could please test it https://github.com/aerogear/TODO/commit/a421a74091158b2c6ba52ab86ff5a035ee6066df and let me know how it goes?
          Hide
          Kris Borchers added a comment -

          This works ... seems insane that you need that much code to format a date though.

          Show
          Kris Borchers added a comment - This works ... seems insane that you need that much code to format a date though.
          Hide
          Bruno Oliveira added a comment -

          @Temporal is supposed so solve the problem, unfortunately doesn't work like expected :/ We have better options like Joda Time for example with conversors, but must to be discussed before include new dependencies.

          Show
          Bruno Oliveira added a comment - @Temporal is supposed so solve the problem, unfortunately doesn't work like expected :/ We have better options like Joda Time for example with conversors, but must to be discussed before include new dependencies.

            People

            • Assignee:
              Bruno Oliveira
              Reporter:
              Kris Borchers
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development