Skip to content

Conversation

@divyun
Copy link

@divyun divyun commented Nov 5, 2025

Since 1.25.0, the dates get set to 2001-01-01T00:00:00Z, when not specified by the caller.

Fixes #35860

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Nov 5, 2025
@github-actions github-actions bot added modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code labels Nov 5, 2025
@divyun divyun force-pushed the fix/api/repo/contents/set-optional-dates-to-now branch from 49f4c4c to 62bff1a Compare November 5, 2025 08:56
@divyun divyun force-pushed the fix/api/repo/contents/set-optional-dates-to-now branch from 62bff1a to 19618ec Compare November 5, 2025 08:56
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Nov 5, 2025
@divyun divyun changed the title fix(api/repo/contents): set the dates to now when not specified by thee caller fix(api/repo/contents): set the dates to now when not specified by the caller Nov 5, 2025
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/v1.25 lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Contents POST APIs result in nil commit dates

4 participants