•  
      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
    7083
    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
    Referenced by request #7066