Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚠️ Update date formats and fields to RFC3339 in JSON results #2712

Merged
merged 1 commit into from
Mar 2, 2023

Commits on Mar 2, 2023

  1. ⚠️ Update date formats and fields to RFC3339

    - Update date format in multiple files from `YYYY-MM-DD` to `YYYY-MM-DDTHH:MM:SS-TZ`
    - Update date from `2021-08-25` to `2023-03-02T10:30:43-06:00`
    - Change date format from `2006-01-02` to `time.RFC3339`
    - Add `time` import
    - Update ScorecardResult
    
    [pkg/testdata/check2.json]
    - Change the date format from `YYYY-MM-DD` to `YYYY-MM-DDTHH:MM:SS-TZ`
    [pkg/testdata/check1.json]
    - Update date from `2021-08-25` to `2023-03-02T10:30:43-06:00`
    [pkg/testdata/check3.json]
    - Update the date field in `check3.json` from `2021-08-25` to `2023-03-02T10:30:43-06:00`
    [pkg/testdata/check5.json]
    - Update date in `check5.json` from 2021-08-25 to 2023-03-02T10:30:43-06:00
    [pkg/json_test.go]
    - Change date format from `2006-01-02` to `time.RFC3339`
    - Update date from `2021-08-25` to `2023-03-02T10:30:43-06:00`
    [pkg/testdata/check6.json]
    - Change date from "2021-08-25" to "2023-03-02T10:30:43-06:00"
    [pkg/json.go]
    - Change the date format from "2006-01-02" to RFC3339
    - Add "time" import
    - Update the ScorecardResult struct to include the CommitSHA field
    [pkg/testdata/check4.json]
    - Update date from `2021-08-25` to `2023-03-02T10:30:43-06:00`
    - Update commit from `68bc59901773ab4c051dfcea0cc4201a1567ab32`
    
    Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
    naveensrinivasan committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    8e72c99 View commit details
    Browse the repository at this point in the history