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

code.json: Bug when generating date created field value #181

Closed
natalialuzuriaga opened this issue Oct 21, 2024 · 2 comments
Closed

code.json: Bug when generating date created field value #181

natalialuzuriaga opened this issue Oct 21, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@natalialuzuriaga
Copy link
Collaborator

natalialuzuriaga commented Oct 21, 2024

Describe the bug
When I use repo-scaffolder to create a fresh new repository and then use the cookiecutter command to create the repo's code.json file, the "created" field in the date object is incorrect.

To Reproduce
Steps to reproduce the behavior:

  1. For any tier. create a new repository using cookiecutter/repo-scaffolder
  2. Use the cookiecutter command to create the repo's code.json file.
  3. The "created" field in the date object is set to "2023-10-05T14:06:51-04:00".

Expected behavior
The created field should be set to the date the repository is created / the repository's first commit. It looks like it is being set to the first commit of the repo template I believe?

Screenshots
In code.json
Screenshot 2024-10-21 at 3 25 37 PM

Additional context
Related to #153

@sachin-panayil
Copy link
Contributor

sachin-panayil commented Oct 23, 2024

10/23:

@natalialuzuriaga
Copy link
Collaborator Author

Merged! Closing issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants