Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #7066 PUT /artifacts/:id has issue with GMT dates
    Infos
    #7066
    Laurent Delaigue (ldelaigue)
    2014-06-16 16:04
    2014-06-16 16:04
    7085
    Details
    PUT /artifacts/:id has issue with GMT dates
    I submit
    PUT /artifacts/24
    {"values": [{
    "field_id": 446,
    "value": "2014-01-09T00:00:00+00:00" }]
    "comment": {"body":"Test for dates 2", "format": "text"}
    }

    The submission occurs correctly,
    but the date now returned by GET /artifacts/24 is offset by 1 hour:
    { "field_id": 446,
    "label": "Start Date",
    "value": "2014-01-09T00:00:00+01:00"
    }

    If I send "2014-01-09T00:00:00+04:00", Tuleap sets the date to "2014-01-08T00:00:00+01:00", which is incorrect too.
    API
    7.1
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References