]> source.dussan.org Git - gitea.git/commit
Fix milestone deadline and date related problems (#32339)
authorLunny Xiao <xiaolunwen@gmail.com>
Tue, 5 Nov 2024 07:46:40 +0000 (23:46 -0800)
committerGitHub <noreply@github.com>
Tue, 5 Nov 2024 07:46:40 +0000 (07:46 +0000)
commit24b83ff63e7ffd3d412bc9b509102aa2c507ced1
tree3f18ed68bb62f3a597d2417481c7525bf1ac8a41
parent1887c75c35c1d16372b1dbe2b792e374b558ce1f
Fix milestone deadline and date related problems (#32339)

Use zero instead of 9999-12-31 for deadline
Fix #32291

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
23 files changed:
models/actions/schedule_spec_test.go
models/issues/milestone.go
models/migrations/migrations.go
models/migrations/v1_23/v307.go [new file with mode: 0644]
modules/gitgraph/graph.go
modules/gitgraph/graph_models.go
modules/templates/util_date.go
routers/api/v1/repo/issue.go
routers/api/v1/repo/milestone.go
routers/common/deadline.go [new file with mode: 0644]
routers/web/repo/issue.go
routers/web/repo/milestone.go
routers/web/web.go
services/convert/issue.go
templates/repo/graph/commits.tmpl
templates/repo/issue/milestone_new.tmpl
templates/repo/issue/view_content/sidebar.tmpl
tests/integration/api_issue_milestone_test.go
tests/integration/issue_test.go
web_src/js/features/repo-issue-sidebar.ts
web_src/js/features/repo-issue.ts
web_src/js/features/repo-milestone.ts
web_src/js/index.ts