Page MenuHomeSoftware Heritage

api: Fix documentation of the format used for git date fields
ClosedPublic

Authored by vlorentz on Dec 2 2021, 3:50 PM.

Details

Summary

They may contain negative UTC offsets, which is allowed by RFC3339,
but not by ISO8601.

See the last paragraph of https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC for details

I also removed (in UTC) because it's not true.

Diff Detail

Repository
rDWAPPS Web applications
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 25329
Build 39590: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 39589: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D6730 (id=24453)

Rebasing onto 284eec7e75...

Current branch diff-target is up to date.
Changes applied before test
commit 9502510d8092715c96894f7699a6c8c589865d74
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Dec 2 15:50:50 2021 +0100

    api: Fix documentation of the format used for git date fields
    
    They may contain negative UTC offsets, which is allowed by RFC3339,
    but not by ISO8601.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1259/ for more details.

This revision is now accepted and ready to land.Dec 2 2021, 4:19 PM